Comments (3)
Thank you for your interest in our research.
We used pytorch's multiprocessing package to share the file system between gpus.
The "run" function in main.py called from the "spawn" function needs the process index.
Information related to this can be found at https://pytorch.org/docs/stable/_modules/torch/multiprocessing/spawn.html#spawn.
Additionally, we confirmed that training works when we run the run/triain.py file in the current code.
Do you have any problems running our code?
from exu-net.
Thank you, when I run the main.py, there is an error "the function run(line 37 in main.py) cannot be found in main", I move the function 'run' to another file, the code runs. Also, there are some errors about the "all_gather()", which makes the list can not be indexed. I run the code in one GPU, so I write below:
lists = all_gather(list)
lists_ = list[0]
for i in range(len(list_)):
Finally, the code runs with no errors.
from exu-net.
Thank you for checking.
Our code is based on a multi-GPU environment.
It seems that an error occurred to you because we did not consider the single GPU environment.
First of all, you can use the code as you modified it, and I will upload a single GPU code as soon as possible.
from exu-net.
Related Issues (7)
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 exu-net.