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

Questions about loss weight? #33

Open
mingqizhang opened this issue Jan 7, 2022 · 0 comments
Open

Questions about loss weight? #33

mingqizhang opened this issue Jan 7, 2022 · 0 comments

Comments

@mingqizhang
Copy link

Hi, I have some questions about the code?
The regression loss and lap loss were only focus on the weight( 1/255<uncertain area <1-1/255) part of the prediction, which means the model not learn how to predict background(<1/255) and foreground(>1-1/255). I delet the "weight_os8[...] = 1" in trainer.py to ensure that weight_os8, weight_os4 and weight_os1 only have uncertain area value. In my opinion, the prediction in foreground and background should have the random value. But the model can also predict foreground and background.

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

1 participant