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

Question about photometric loss. #8

Closed
SepJourney opened this issue Jan 12, 2024 · 2 comments
Closed

Question about photometric loss. #8

SepJourney opened this issue Jan 12, 2024 · 2 comments

Comments

@SepJourney
Copy link

SepJourney commented Jan 12, 2024

Thanks for sharing this nice work!
Sorry, I can't run the code directly in my environment. One question I have is what the input to photometric loss looks like.

loss = L1_loss(pred, target), are the pred and target 3-channels RGB images?
Whether the value ranges from 0 to 255 (original image) or normalized value (normalized by mean/std value)? I don't see a place in the code for image normalization.

@weiyithu
Copy link
Collaborator

They are 3-channels RGB images ranged from 0 to 1.

@SepJourney
Copy link
Author

They are 3-channels RGB images ranged from 0 to 1.

Got it, thanks for the replay.

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