Comments (7)
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.
@shuuchen I met the same problem. Have you solved it?
from synchronized-batchnorm-pytorch.
Up ?
from synchronized-batchnorm-pytorch.
@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.
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/7463009370e9ddf77e649f3fec259024You can adapt the code with your own task easily.
have you find out the exact problem in this provided syncBatchNorm?
from synchronized-batchnorm-pytorch.
@shuuchen I met the same problem. Have you solved it?
hi, have you solved this problem?
from synchronized-batchnorm-pytorch.
See also #44 (comment)
from synchronized-batchnorm-pytorch.
Related Issues (20)
- test gap between training and test HOT 3
- Is this a bug that channel between input tensor and sync batchnorm are mismatch the code still run successful? HOT 2
- How to cite this repo in bib?
- How to use it when testing HOT 1
- RuntimeError with convert_model - "found one of them on device: cpu" HOT 2
- Thinking about 'sync_batchnorm.batchnorm.convert_model(module)'.. HOT 1
- Wired things, module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cpu HOT 1
- Question on `sqrt(max(var, eps))` HOT 2
- module问题
- Training cannot start
- batchnor while using distributed dataparallel HOT 1
- a question about the highlight "use sqrt(max(var, eps)) instead of sqrt(var + eps)" HOT 4
- Train Stucked HOT 4
- raining couldn 't start HOT 2
- Training stuck with multiple call of forward function HOT 7
- Where is "track_running_stats" implementation code? HOT 1
- how to export with onnx
- .
- spam
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synchronized-batchnorm-pytorch.