Comments (6)
The NCCL is the basis for running this code on multi-GPUs, you could run the code on a single GPU by removing it, but I am not sure whether the performance on a single GPU could reach the performance on multi-GPUs.
from idinvert.
Thank you, and understood. In a practical sense, I assume I could just remove this then, and not replace it with anything? (if using a single GPU):
idinvert/dnnlib/tflib/optimizer.py
Lines 134 to 135 in 17cbd86
from idinvert.
Actually, if you use a single GPU, the code can not reach here. By the way, if you use a single GPU to training the encoder, you need to replace the sync_batch_norm
in networks_encoder.py
with conventional BatchNorm provided by TensorFlow.
from idinvert.
Thanks for the advice so far, looks like the import in optimizer.py
wasn't the issue
In fact, I've removed all references to nccl as found here:
https://github.com/genforce/idinvert/search?q=nccl
yet still continue to get nccl related errors
It seems to be from here, but I'm not sure how to trace the issue further
https://github.com/genforce/idinvert/blob/master/dnnlib/tflib/network.py#L291
from idinvert.
The .pkl
files contain the network's code I used in training and when it was loaded, the code in it will be directly used.
from idinvert.
Thank you for the explanation, that makes sense. Closing this as an issue.
from idinvert.
Related Issues (20)
- Error occurs when running invert.py HOT 1
- How to set gpu id in train.py HOT 2
- ModuleNotFoundError: No module named 'tensorflow.contrib.nccl' HOT 1
- About resolution in styleGAN HOT 2
- Encoder train on crawled face or FFHQ HOT 5
- about the W space HOT 1
- why face with eyeglasses when aged? HOT 2
- Training an encoder using pretrained StyleGAN HOT 2
- CUDA, cuDNN and NCCL versions HOT 2
- Training problems HOT 1
- My own data set HOT 1
- Could you provide me with the code for calculating SWD?
- Will you update the training code for pytorch soon? HOT 2
- How many iterations are needed to generate similar faces? HOT 1
- Error in Inversion Task HOT 2
- tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed HOT 3
- Using Semantic Diffusion in other domains (that are not faces) HOT 1
- Encoder is not trained at all. HOT 1
- Is it correct to use interfaceGAN when dealing with the tower dataset? HOT 1
- All of the losses except the reconstruction loss don't change. HOT 6
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 idinvert.