-
Notifications
You must be signed in to change notification settings - Fork 632
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] Any suggestions on normalizing the outputs better? #253
Comments
disp to depth with min and max depth |
There is no 'additional considerations' in the paper I downloaded at IEEE website. Can you provide the right version? Thank you! Besides, I'm confused about 'sigmoid output' in your code. In the dpt_beit_large_512 network, I can't find the sigmoid layer. I find the output of my network is between 900 and 10000. In this case, how can I transform output to depth? Thank you very much! |
I have the same question. The inverse depth output is between 900 and 10000. Is the problem resolved? |
Hi. I convert the output to depth map by this way. Firstly I inverse the output directly by ‘depth=1/output’, then use min-max normalize method ‘depth= (depth-depth.min())/(depth.max()-depth.min())’ for an valid depth map. |
@isJHan Thanks! |
Today I found a bug in this procedure. When I infer on another dataset, the output can be negative or 0. So there will be a bias added to output like |
Now I also add a bias and a scale to the output like this (but not to [0, 1]): |
Thanks. But how can we get alpha and beta for another dataset? |
@isJHan |
Original:
Output:
This is currently an image that I took of a port hole in converted to ply, using the .pfm, and also normalized it before converting, viewed in blender.
The issue I'm having is realistically the edges should be flatter and not scale to infinity like it currently is, is there any real tricks to making the pfm a little better to work with?
Any suggestions are appreciated.
The text was updated successfully, but these errors were encountered: