Giter Site home page Giter Site logo

Comments (6)

tianweiy avatar tianweiy commented on August 27, 2024

And the training time did not decrease significantly.

That depends on your cpu and io. I get about linear speed up.

There is a decline in the performance of detection compared with using a single GPU.

Please give more details how large decline, both logs(using a link or send to my email), etc..

from centerpoint.

YaoHan404 avatar YaoHan404 commented on August 27, 2024

Thank you for your reply.

That depends on your cpu and io. I get about linear speed up.

It's my mistake, the training time did decrease a lot, it has decreased from 28h to 18h. I check the GPU-Util of 4 1080Ti, and most of the time is 0. I think maybe the IO speed of my mechanical hard disk is a bottleneck although I have increased the num_workrs of DataLoader. Are you put your dataset in the SSD?

Please give more details how large decline, both logs(using a link or send to my email), etc..

My model is trained in "car".

  • DistributedDataParallel:
    "0.5": 0.41004305537524055,
    "1.0": 0.6311094185348973,
    "2.0": 0.7190380432337594,
    "4.0": 0.7583501639976733
  • Single GPU:
    "0.5": 0.49231069012399,
    "1.0": 0.6895590650747294,
    "2.0": 0.7537213190378271,
    "4.0": 0.7901271570637968

And logs are sent to your email.

from centerpoint.

tianweiy avatar tianweiy commented on August 27, 2024
It's my mistake, the training time did decrease a lot, it has decreased from 28h to 18h. I check the GPU-Util of 4 1080Ti, and most of the time is 0. I think maybe the IO speed of my mechanical hard disk is a bottleneck although I have increased the num_workrs of DataLoader. Are you put your dataset in the SSD?

Yeah, you can see the log. The data time is much larger than the forward time. I didn't use a SSD for training but this should definitely help a lot for your setting.

Can you tell me what specific change did you make to the code? What model is this and how did you create this subset? Regardless, it seems both dist and single training are bad for the car class. You should see something like this for car

car Nusc dist [email protected], 1.0, 2.0, 4.0
72.88, 84.48, 87.77, 89.16 mean AP: 0.8357262620298936

from centerpoint.

YaoHan404 avatar YaoHan404 commented on August 27, 2024

Well,I used PointPillars as my baseline. And the input is replaced with a BEV created manually, the backbone is replaced with a lighter 2D detection model.

from centerpoint.

tianweiy avatar tianweiy commented on August 27, 2024

I see. I can reproduce my result with 2/4/8 gpus so I don't think there is an issue with Distributed data parallel. You may need to look at other part for the discrepancy

from centerpoint.

YaoHan404 avatar YaoHan404 commented on August 27, 2024

Thank you very much, I will check my code.

from centerpoint.

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.