LinShan-Bin / OccNeRF

Code of "OccNeRF: Advancing 3D Occupancy Prediction in LiDAR-Free Environments".
Apache License 2.0
317 stars 18 forks source link

Question about photometric loss. #8

Closed SepJourney closed 10 months ago

SepJourney commented 10 months ago

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 commented 10 months ago

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

SepJourney commented 10 months ago

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

Got it, thanks for the replay.