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

A problem of Validation/ Test phase. #45

Closed
quangtn266 opened this issue Sep 28, 2021 · 4 comments
Closed

A problem of Validation/ Test phase. #45

quangtn266 opened this issue Sep 28, 2021 · 4 comments

Comments

@quangtn266
Copy link

Hi author,

Thank you for your work.

Currently, I implement your work on my data. However, in val/test, I got one issue, my depth map score for val/ test have inf and nan score. In your work, I just custom Load_train/valtest to adopt my data.
Screenshot from 2021-09-28 08-07-39

Can you give me some advice to fix this issue ?

Thank you

@Saurav-31
Copy link

score_norm = torch.sum(map_x)/torch.sum(val_maps[:,frame_t,:,:])

This code calculates map score while validation and testing. If ground truth depth map is zeros, score norm will become infinity. Cross check that.

@quangtn266
Copy link
Author

score_norm = torch.sum(map_x)/torch.sum(val_maps[:,frame_t,:,:])

This code calculates map score while validation and testing. If ground truth depth map is zeros, score norm will become infinity. Cross check that.

Thank you for your answer, I already fix this issue, because I use images for training and testing, so the current formula here isn't proper for my case.

@Zhangjw0211
Copy link

Excuse me, how to correct this code

@Zhangjw0211
Copy link

@Saurav-31 @quangtn266 If ground truth depth map is zeros, how to compute the score norm in the val and test? Thank you so much.

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

3 participants