Coder Social home page Coder Social logo

Comments (7)

shuuchen avatar shuuchen commented on August 18, 2024 4

I wrote a test script which solved the hanging problem. I guess there is something wrong with reduce function.

Please refer to the script:
https://gist.github.com/shuuchen/7463009370e9ddf77e649f3fec259024

You can adapt the code with your own task easily.

from synchronized-batchnorm-pytorch.

AManHasNoName12138 avatar AManHasNoName12138 commented on August 18, 2024

@shuuchen I met the same problem. Have you solved it?

from synchronized-batchnorm-pytorch.

rvandeghen avatar rvandeghen commented on August 18, 2024

Up ?

from synchronized-batchnorm-pytorch.

rvandeghen avatar rvandeghen commented on August 18, 2024

@shuuchen I guess you used the pytorch tutorial on DDP. I've dived into it and will most likely use the SyncBatchNorm implemented by pytorch as well.
Anyway thank you as it may help others :)

from synchronized-batchnorm-pytorch.

zwyking avatar zwyking commented on August 18, 2024

I wrote a test script which solved the hanging problem. I guess there is something wrong with reduce function.

Please refer to the script:
https://gist.github.com/shuuchen/7463009370e9ddf77e649f3fec259024

You can adapt the code with your own task easily.

have you find out the exact problem in this provided syncBatchNorm?

from synchronized-batchnorm-pytorch.

zwyking avatar zwyking commented on August 18, 2024

@shuuchen I met the same problem. Have you solved it?

hi, have you solved this problem?

from synchronized-batchnorm-pytorch.

vacancy avatar vacancy commented on August 18, 2024

See also #44 (comment)

from synchronized-batchnorm-pytorch.

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.