GithubHelp home page GithubHelp logo

performance about monodepth-pytorch HOT 8 CLOSED

JesseZhang92 avatar JesseZhang92 commented on May 23, 2024
performance

from monodepth-pytorch.

Comments (8)

voeykovroman avatar voeykovroman commented on May 23, 2024 2

Sorry for the late response, loaded with work currently. I see your problem and for me it seems like an issue with the correct training technique. Like again checking more hyperparameters, choosing right optimizer, training model (already trained with ADAM) with just SGD (sometimes help), or anneal already trained model.
Also I wouldn't expect the same performance between different frameworks because such performance differences take place quite often.
Moreover our model and TF model are not perfectly identical as we introduced batchnorm between convolution layers because without it we couldn't train it at all.

from monodepth-pytorch.

JesseZhang92 avatar JesseZhang92 commented on May 23, 2024 1

Thanks for the replying. I trained Resnet50_md from scratch using this code. The training set is the same as Godard's. Then we test it on the Kitti Eigen's split and find the best RMSE is 5.3, worse than the ones of Godard's paper. I've tried many settings of batch size or learning rate but it still produce not better results.

Can you explain how you calculated RMSE in this code?

#22 Check this issue.

from monodepth-pytorch.

voeykovroman avatar voeykovroman commented on May 23, 2024

Hey @JesseZhang92. Unfortunately we didn't test our model in terms of metrics for depth evaluation but only made visual inspection of disparity maps and loss value. However, we'll probably add this in the future. What about your tests did you do it on our pretrained model or train it from scratch using this code?

from monodepth-pytorch.

JesseZhang92 avatar JesseZhang92 commented on May 23, 2024

Thanks for the replying. I trained Resnet50_md from scratch using this code. The training set is the same as Godard's. Then we test it on the Kitti Eigen's split and find the best RMSE is 5.3, worse than the ones of Godard's paper. I've tried many settings of batch size or learning rate but it still produce not better results.

from monodepth-pytorch.

JesseZhang92 avatar JesseZhang92 commented on May 23, 2024

Here the RMSE is calculated within 50m. In Godard's paper the corresponding results should be 4.471 in Table. 2.

from monodepth-pytorch.

GabrielMon avatar GabrielMon commented on May 23, 2024

Thanks for the replying. I trained Resnet50_md from scratch using this code. The training set is the same as Godard's. Then we test it on the Kitti Eigen's split and find the best RMSE is 5.3, worse than the ones of Godard's paper. I've tried many settings of batch size or learning rate but it still produce not better results.

Can you explain how you calculated RMSE in this code?

from monodepth-pytorch.

JesseZhang92 avatar JesseZhang92 commented on May 23, 2024

Thanks for the replying. I trained Resnet50_md from scratch using this code. The training set is the same as Godard's. Then we test it on the Kitti Eigen's split and find the best RMSE is 5.3, worse than the ones of Godard's paper. I've tried many settings of batch size or learning rate but it still produce not better results.

Can you explain how you calculated RMSE in this code?

Hi, it has been a long time since I used this project. As I remember, you should carefully follow the evaluation protocol provided in the original project https://github.com/mrharicot/monodepth/blob/master/utils/evaluation_utils.py, and https://github.com/mrharicot/monodepth/blob/master/utils/evaluate_kitti.py.
Some 'masking' operations may influence the performance as it changes the valid points that measured. You may carefully check these operations.

from monodepth-pytorch.

GabrielMon avatar GabrielMon commented on May 23, 2024

Thanks for the replying. I trained Resnet50_md from scratch using this code. The training set is the same as Godard's. Then we test it on the Kitti Eigen's split and find the best RMSE is 5.3, worse than the ones of Godard's paper. I've tried many settings of batch size or learning rate but it still produce not better results.

Can you explain how you calculated RMSE in this code?

Hi, it has been a long time since I used this project. As I remember, you should carefully follow the evaluation protocol provided in the original project https://github.com/mrharicot/monodepth/blob/master/utils/evaluation_utils.py, and https://github.com/mrharicot/monodepth/blob/master/utils/evaluate_kitti.py.
Some 'masking' operations may influence the performance as it changes the valid points that measured. You may carefully check these operations.

Do you still have your code?
Is it a problem for you to send me part of the code as you did, if necessary I can contact you privately.

from monodepth-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.