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 Max, Min Depth Value #68

Open
ssh10032 opened this issue Jul 16, 2022 · 1 comment
Open

Question about Max, Min Depth Value #68

ssh10032 opened this issue Jul 16, 2022 · 1 comment

Comments

@ssh10032
Copy link

Hi, I'm going to train Adabins to my custom dataset.
At first, there is a part where the maximum and minimum values are specified in the part where the model is loaded, does this have an effect on training?
model = UnetAdaptiveBins.build(n_bins=256, min_val=0, max_val=2.5, norm='linear').to(device)
And is it a problem if I use these values differently when I load the weights later?

Thank you for providing your work.
It is very helpful for studying.

@shariqfarooq123
Copy link
Owner

shariqfarooq123 commented Oct 25, 2022

Hi,

Thanks for your interest in our work.
I hypothesize that changing min_val and max_val on pretrained model would just change units the output depth map uses. By default, the units are meters but if you change the max_val to new_max_val, then output units would be scaled by (new_max_val - new_min_val) / (max_val - min_val).

I'm curious if you experimented with this and your concluding insights about this situation.

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