Giter VIP home page Giter VIP logo

Comments (7)

Baukebrenninkmeijer avatar Baukebrenninkmeijer commented on May 18, 2024

Hi @ManuelAlvarezC, how is this going? I would like to train with TGAN, but that's kinda hard without GPU.

from tgan.

ManuelAlvarezC avatar ManuelAlvarezC commented on May 18, 2024

Hi @Baukebrenninkmeijer,

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.

Baukebrenninkmeijer avatar Baukebrenninkmeijer commented on May 18, 2024

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.

ManuelAlvarezC avatar ManuelAlvarezC commented on May 18, 2024

Hi @Baukebrenninkmeijer

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.

eddieHou avatar eddieHou commented on May 18, 2024

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.

Baukebrenninkmeijer avatar Baukebrenninkmeijer commented on May 18, 2024

@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.

ManuelAlvarezC avatar ManuelAlvarezC commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.