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

Why divide here by 2 and add 0.5? #28

Closed
sicong-li opened this issue Oct 25, 2021 · 1 comment
Closed

Why divide here by 2 and add 0.5? #28

sicong-li opened this issue Oct 25, 2021 · 1 comment

Comments

@sicong-li
Copy link

Great work. And I have a question : Why divide here by 2 and add 0.5? https://github.com/tsingqguo/exposure-fusion-shadow-removal/blob/main/models/Refine_model.py#L206

@fl82hope
Copy link
Contributor

This is beacuse change the value to [0,1], the out from self.input_img, shadow_output ( both in range [-1,1] ).

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