Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with parameter setting . #38

Open
Lee-meng-meng opened this issue Sep 14, 2021 · 4 comments
Open

Problem with parameter setting . #38

Lee-meng-meng opened this issue Sep 14, 2021 · 4 comments

Comments

@Lee-meng-meng
Copy link

What does YUV_scales stand for? Why did you set y,u, and v to 1,100,100, respectively?
How do I adjust these three parameters?

Many thanks

@Lee-meng-meng Lee-meng-meng changed the title Problem with parameter setting ? Problem with parameter setting . Sep 14, 2021
@tancik
Copy link
Owner

tancik commented Sep 17, 2021

YUV is a color space (https://en.wikipedia.org/wiki/YUV). The scaling varies the loss for color versus luminosity (the u,v channels are color).

@Lee-meng-meng
Copy link
Author

Why did you set y,u, and v to 1,100,100, respectively?

@tancik
Copy link
Owner

tancik commented Sep 22, 2021

By setting u and v larger you increase the loss on the color channels. Weighing them more helped avoid weird colors from emerging during training.

@Lee-meng-meng
Copy link
Author

Thank you for your reply ~ I found that YUV should be set to 1,300,200 to avoid strange colors when training 1200*800. Is this setting related to the ratio of length to width?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants