Code Monkey home page Code Monkey logo

Comments (5)

innerlee avatar innerlee commented on July 16, 2024

Could you provide more info?

  • Which config file are used?
  • Does workers_per_gpu works for codebases other than mmaction2?
  • There is a possibility that the multi-threading lib does not support AMD, but lets rule out other options first.

from mmaction2.

geek12138 avatar geek12138 commented on July 16, 2024

Could you provide more info?

  • Which config file are used?
  • Does workers_per_gpu works for codebases other than mmaction2?
  • There is a possibility that the multi-threading lib does not support AMD, but lets rule out other options first.
  • Which config file are used?
    tsn_r50_1x1x3_80e_ucf101_rgb.py
  • Does workers_per_gpu works for codebases other than mmaction2?
    I am running the training sample code of tsn on mmaction2.

python tools/train.py configs/recognition/tsn/tsn_r50_1x1x3_80e_ucf101_rgb.py
--work-dir work_dirs/tsn_r50_1x1x3_80e_ucf101_rgb
--validate --seed 0 --deterministic

Thank you.

from mmaction2.

dreamerlin avatar dreamerlin commented on July 16, 2024

num_worker=4
Here is our result with

python tools/train.py configs/recognition/tsn/tsn_r50_1x1x3_80e_ucf101_rgb.py --work-dir work_dirs/tsn_r50_1x1x3_80e_ucf101_rgb --validate --seed 0 --deterministic

The environment is: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz, GTX 1080Ti GPU.
The PID 168761-168764 are corresponding to the workers_per_gpu=4.
There is a possibility that the multi-threading lib does not support AMD. I think you can check whether workers_per_gpu works for other codebases.

from mmaction2.

geek12138 avatar geek12138 commented on July 16, 2024

num_worker=4
Here is our result with

python tools/train.py configs/recognition/tsn/tsn_r50_1x1x3_80e_ucf101_rgb.py --work-dir work_dirs/tsn_r50_1x1x3_80e_ucf101_rgb --validate --seed 0 --deterministic

The environment is: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz, GTX 1080Ti GPU.
The PID 168761-168764 are corresponding to the workers_per_gpu=4.
There is a possibility that the multi-threading lib does not support AMD. I think you can check whether workers_per_gpu works for other codebases.

Thank you, I tested that pytorch's multithreading is invalid for 2990wx.

from mmaction2.

dreamerlin avatar dreamerlin commented on July 16, 2024

It is grad to see that we find the root of the problem and i will close this issue.

from mmaction2.

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.