Giter VIP home page Giter VIP logo

Comments (2)

drprojects avatar drprojects commented on May 26, 2024

Hi @ruomingzhai,

I think this might be due to the fact that torch-points3d does not like loading optimizers with differential learning rates. Indeed, to train the 3D+2D models, some blocks of the model have different learning rates (eg the 2D blocks vs the 3D blocks). When loading the optimizer, this might cause issues.

As of now, the project does not support loading pretrained optimizer and scheduler to fine-tune on. If you want to reproduce the training experiments, use scripts/train_kitti360.sh. If you want to infer using the pretrained weights, use notebooks/kitti360_inference.ipynb.

If you want to fine-tune a pretrained model, you will need to create a new optimizer and scheduler anyways, which should bypass the problem you encountered. For that, you can simply follow the procedure in scripts/train_kitti360.sh, with a few changes:

  • add the path to the pretrained model in your model config:
<model_name>:
    path_pretrained: /path/to/the/pretrained/model/<model_name>.pt
    ...
  • adapt the training config to suit your needs, especially for the learning rates, which you might want to reduce
  • adapt the lr_scheduler config to suit your needs

Hope that helps !

from deepviewagg.

drprojects avatar drprojects commented on May 26, 2024

Hi, assuming the last reply addressed the question, I am closing the issue.

from deepviewagg.

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.