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

smooth_loss function #9

Open
gaoxiaomingming opened this issue Jun 28, 2022 · 2 comments
Open

smooth_loss function #9

gaoxiaomingming opened this issue Jun 28, 2022 · 2 comments

Comments

@gaoxiaomingming
Copy link

Thank you so much for release your code!!! I have a little question when reading your code.
What does smooth_loss function do? Can I use it to guarantee continuity in x or y direction?

@choyingw
Copy link
Collaborator

choyingw commented Jul 9, 2022

It aims at regularizing spatial continuity, see layers.py L190 with color pixel awareness. Positions where color pixels have salient gradient will contribution less to the smoothness

@gaoxiaomingming
Copy link
Author

gaoxiaomingming commented Jul 9, 2022 via email

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