Giter VIP home page Giter VIP logo

Comments (7)

FangGet avatar FangGet commented on August 31, 2024 1

done, similar performance, and I notice that you uploaded the training code, close issue.

from lite-mono.

noahzn avatar noahzn commented on August 31, 2024

Hi, I will upload the pre-trained weights soon and let you know.

from lite-mono.

FangGet avatar FangGet commented on August 31, 2024

Thanks.

from lite-mono.

noahzn avatar noahzn commented on August 31, 2024

Hi @FangGet , I have uploaded the pre-trained weights. A tip for training, you need to set the weight_decay to 1e-2 and drop_path to 0.2 to mitigate overfitting. For the latest Lite-Mono-8M, I use a larger drop path rate, which is 0.4.
Please let me know if you have more questions.

from lite-mono.

FangGet avatar FangGet commented on August 31, 2024

Thanks @noahzn .
With AdamW optimizer, weight_decay=1e-2, drop_path=0.2 learning_rate=1e-4, pretrained Imagenet, I got the results:

name abs_rel sq_rel rmse rmse_log a1 a2 a3
paper 0.107 0.765 4.561 0.183 0.886 0.963 0.983
own_trained 0.108 0.798 4.658 0.187 0.885 0.961 0.982

Gap still exists, waiting for your training detail(maybe different learning rate for depth and pose network?).

from lite-mono.

noahzn avatar noahzn commented on August 31, 2024

Hi! Glad to see that you trained the network by yourself! Some comments:

  1. I used the initial learning rate 1e-4 for both the DepthNet and the PoseNet of Lite-Mono. Then, the learning rates decrease to 5e-6 and 1e-5, respectively.
  2. The best results are usually not achieved in the last epoch due to training fluctuations.
  3. I used the cosine annealing scheduler to reduce learning rates.
  4. The drop path rate introduces uncertainty into the training. The same results cannot be got unless the randomness of the training is fixed, by setting fixed seeds.
  5. I have just done several rounds of training after reading your comment, and found that some training achieved better results in 2 or 3 metrics than the results reported in the paper. But also one round of training couldn't converge.
  6. You can use Tensorboard to check the training process. tensorboard --logdir ./tmp/your_saved_model_folder.

from lite-mono.

FangGet avatar FangGet commented on August 31, 2024

Thanks.

  1. useful, I will try that.
  2. I also get best results not from last epoch.
  3. Cosine annealing has also been tried, but with a much smaller eta lr. I will try it with tips. 1.
  4. 4.5.6. understand.

thanks again.

from lite-mono.

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.