-
Notifications
You must be signed in to change notification settings - Fork 963
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
obtained some very strange depth maps #483
Comments
I got the same weird results. Have you solved this? |
I haven't resolved this issue yet. Initially, I thought it was due to the insufficient size of the data sample, but experiments later revealed it's unrelated to the quantity of training. |
Thank you, my custom dataset has about 25w samples, but the same problem still happened. |
I conducted another experiment and found that while the depth map obtained in the first training round is not accurate, it resembles a depth map. However, in subsequent epochs, the training results become peculiar, with the depth map exhibiting object textures. The changes I made to the code are in Monodepth2/datasets/kitti_dataset.py: Originalself.K = np.array([[0.58, 0, 0.5, 0],[0, 1.92, 0.5, 0],[0, 0, 1, 0],[0, 0, 0, 1]], dtype=np.float32)Modifiedself.K = np.array([[0.607, 0.000, 0.502, 0], Originalself.full_res_shape = (1242, 375)Modifiedself.full_res_shape = (640, 480) |
请问一下您解决了这个问题吗?我也遇到了生成深度图很奇怪的情况 |
Thank you very much for your work!
I further trained the mono model you provided with my own dataset (79 indoor-collected images with a resolution of 1280*704, and I modified the camera parameters and resolution in the mono_dataset).
However, I obtained some strange images. From top to bottom, they are the input RGB original image, the depth map directly predicted by the model provided by the original author, and the depth map obtained after training the pre-trained model on my custom dataset (which doesn't seem to be a depth map :(
The text was updated successfully, but these errors were encountered: