Comments (7)
Hi @ManuelAlvarezC, how is this going? I would like to train with TGAN, but that's kinda hard without GPU.
from tgan.
We are currently planning the next steps on the project, so I can't give you an exact answer.
However, we are open to contributions 🙂, so if you are interested, we can discuss here the implementation details.
from tgan.
Hi @ManuelAlvarezC,
This is my first project with tensorpack, so I'm still getting used to working with it.
However, the current code already select the GPU automatically and has the option to pass a gpu='/gpu:0' paramater or alike. I had not seen this when I commented on the issue, so I'm wondering how the issue relates to these options already being available. I also saw code for a multi-GPU setup, which is also mentioned here.
from tgan.
This is my first project with tensorpack, so I'm still getting used to working with it.
I'm sure this won't be a big issue.
However, the current code already select the GPU automatically and has the option to pass a gpu='/gpu:0' paramater or alike. I had not seen this when I commented on the issue, so I'm wondering how the issue relates to these options already being available. I also saw code for a multi-GPU setup, which is also mentioned here.
Indeed, most of the code is already there, what is missing is orchestrating everything. I have updated the original issue with the implementation details, so if you are interested, please let me know, so I can assign this issue to you. If you want to start working on it I recommend you take a look at our CONTRIBUTING guide.
from tgan.
Hi Manuel,
is it possible to run TGAN on GPU? I am finding it is running slowly on my CPU.
If I uninstall tensorflow and TGAN and then install tensorflow gpu and reinstall TGAN, will TGAN then automatically train on my GPU? GPU train is already working for other neural nets on my machine,
thanks,
George
from tgan.
@georgeMcMahon TGAN should be independent of your tensorflow installation. Tensorflow should automatically use the GPU if it is available, so make sure this is the case. Check if you have the correct NVIDIA drivers, Cuda toolkit, Cudnn and tensorflow and if tensorflow has access to the gpu.
What library are you using for your other neural nets? Also tensorflow? If so, there might be a version mismatch or something.
Hope this helps!
from tgan.
Hi @georgeMcMahon,
is it possible to run TGAN on GPU?
Yes it is, as @Baukebrenninkmeijer mentions in the comment above this, TGAN is independent of your tensorflow installation.
If I uninstall tensorflow and TGAN and then install tensorflow gpu and reinstall TGAN, will TGAN then automatically train on my GPU?
Yes, I think that this should work. This issue is open not because TGAN not being able to work with tensorflow-gpu
but because we want to make it work in the three scenarios (CPU, GPU and multiGPU) out of the box.
from tgan.
Related Issues (20)
- How to save model during experiment?
- How to deal with discrete (integer) variables? HOT 1
- Random search crash at the end? due to NaN ? on classifier.fit(..) HOT 1
- vecs_denorm in model.py
- Handling the target variable in data generation (question)
- RuntimeError: dictionary changed size during iteration HOT 1
- tarfile.ReadError: unexpected end of data
- How to pass TGANModel hyper parameters as a dictionary
- I have a problem when I try to use 'Random hyperparameter search' HOT 1
- Fixing random seed to reproduce the same results HOT 2
- Issue with tgan installation in mac HOT 1
- AttributeError: can't set attribute HOT 1
- Error on changing parameters regarding discriminator and generator
- Usage of discriminator as classifier
- creating samples is stuck HOT 2
- How to work with GPU ?
- Increase code style lint
- self.training = training assignment is failing HOT 2
- importing TGAN HOT 2
- HELP ModuleNotFoundError (maybe version issue) 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 tgan.