Comments (2)
from distributed_tutorial.
This code is pretty clear:
https://github.com/rwightman/pytorch-image-models/blob/master/train.py#L730-L732
reduced_loss = reduce_tensor(loss.data, args.world_size)
acc1 = reduce_tensor(acc1, args.world_size)
acc5 = reduce_tensor(acc5, args.world_size)
from distributed_tutorial.
Related Issues (13)
- Hi, a little bit confuse about your code, please give me some help. HOT 2
- Unable to run on a single node with multiple GPUs HOT 1
- where does dist.destroy_process_group() go in your DDP MNIST example?
- how to determine master address and port?
- Address already in use while running second time HOT 4
- [Bug] Multiple dataset created in each train process
- Error with distributed mp HOT 1
- Error distributed run HOT 3
- Call set_epoch on DistributedSampler
- save or load checkpoint
- multiple dataloader processes with ddp
- How to do mnist-distributed with checkpointing? HOT 1
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 distributed_tutorial.