-
Notifications
You must be signed in to change notification settings - Fork 21
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
Mismatch in inference on image used in paper #12
Comments
What's the color code you used here to visualize depth and which checkpoint did you use to estimate the depth? |
Hi! I ran the demo.py script using the DPT Large checkpoint (first one on the Evaluation table in the repo). The color code scale is from 0 to 5 (basically I didn't change the color scale). I also ran the evaluation script using the same image and same checkpoint. This time I got a depthmap that looks like the one you published in the paper. But on inference, the depth still seems off. I am now wondering if there's a problem with how I am calculating metric depth from the prediction. So I took an image and it's depth map from your repo (the one you give as an example to run the visualize_pc.py script). the image is at ./data)/sample_pc/0000.jpg. I simply assume that the X,Y,Z corresponds to the 3D coordinate of u,v pixel point. But on that basis, the width of the three blue vertical panels on the left half of the photo are all very different from each other, whereas they should all be same. I am sure I must be making some mistake here. Could you please help me with which exact checkpoint to use and how to reproduce the 5,82 meter prediction on the image in your paper? Thank you so much! |
Hey @akhilStyl, have you resolved the issue? I am also trying to run the sample image with the pre-trained model but I'm not getting the same result as shown in the paper. |
Hi, this is awesome work! Congratulations!
I tried to make an inference on one of the photos used in the paper figures (attached). The depth map I generated (attached) using the pre-trained model looks very different from the depth map published in the paper (mine almost doesn't have anu Blue color). Also, I used the function for generating point cloud to estimate the metric depth of the marked point in the image. Whereas the paper mentions a metric depth of 5.82 meters, I am getting 3.5 meters.
Could you please help me with what I may be doing wrong? Any pointers would be highly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: