GithubHelp home page GithubHelp logo

Training TIme about clean-pvnet HOT 9 CLOSED

zju3dv avatar zju3dv commented on June 16, 2024
Training TIme

from clean-pvnet.

Comments (9)

pengsida avatar pengsida commented on June 16, 2024 1

I found that dilated convolution is very slow in pytorch 1.1 with cuda 9.0.
You could try pytorch 0.4.1, which I used to train the network.

from clean-pvnet.

pengsida avatar pengsida commented on June 16, 2024

gpus: https://github.com/zju3dv/clean-pvnet/blob/master/configs/linemod.yaml#L7
time: 12h33m

from clean-pvnet.

kevin860213 avatar kevin860213 commented on June 16, 2024

Thanks, did you try to train on single gpu?

from clean-pvnet.

pengsida avatar pengsida commented on June 16, 2024

No, you could try it and watch the output curve.

from clean-pvnet.

mentian avatar mentian commented on June 16, 2024

gpus: https://github.com/zju3dv/clean-pvnet/blob/master/configs/linemod.yaml#L7
time: 12h33m

Hi, Sida,
I trained with your original code on "cat" model, except that I use two gpus (Titan X and 1080Ti). It takes about 50 mins for one epoch (about 20000 images, batch size=16). Would you have any suggestion on this? I assume it only takes around less than 4 mins for one epoch (240 epochs takes 12h33m) during your training.

from clean-pvnet.

pengsida avatar pengsida commented on June 16, 2024

What is your pytorch version?

from clean-pvnet.

mentian avatar mentian commented on June 16, 2024

Pytorch 1.1.0 with CUDA 9.0, as indicated in your README. As far as I know, all the differences from your setting are the system version (Ubuntu 18.04), and I use 2 GPUS (one Titan X and one 1080 Ti), batch size is reduced to 16 accordingly. Then it takes around 50 mins for one epoch, which is far from twice of your time. Since I exactly follow your installation guide, except the differences I mentioned, I would really appreciate if you could suggest what might be the reason for this.

from clean-pvnet.

mentian avatar mentian commented on June 16, 2024

Thanks a lot, I would try that and let you know if I can reproduce your training time.

from clean-pvnet.

mentian avatar mentian commented on June 16, 2024

With pytorch 0.4.1, one epoch takes about 10 mins (2 GPUs). Thanks for you help.

from clean-pvnet.

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.