Git Product home page Git Product logo

Comments (5)

marcossilva avatar marcossilva commented on August 16, 2024

You need to install the tensorflow-gpu to do so

Check it out on Tensor Flow Installation

from tacotron.

basuam avatar basuam commented on August 16, 2024

@marcossilva
Thank you for your prompt answer. I already have installed Tensorflow for GPU. I've been training with GPU since months ago but for the code released, so far, I haven't figured out why it does not use my GPU.

When typing nvidia-smi I can see the projects that are running on the GPU and this code does not run on the GPU. Do you see that your code is running in the GPU when typing nvidia-smi?

from tacotron.

marcossilva avatar marcossilva commented on August 16, 2024

@basuam I haven't checked with the nvidia-smi because when the training or the evaluation starts it shows that it allocated my GPU0 (my only GPU in fact) to the training. I double checked here just to be sure and it shows python3 in the nvidia-smi processes. Are you using a virtualenv to make sure the requirements are correct and thath the tensorflow package isn't installed, just the tensorflow-gpu?


I've just re-read your post and realized it tries to allocate the GPU but it can't. It might be something else in that case. Maybe the GPU is allocated with another project?

from tacotron.

basuam avatar basuam commented on August 16, 2024

@marcossilva
I'm running with Python 2.7.5 and I do not see that message that my GPU has been allocated.
Maybe that's the problem. Let me try with Python 3.
Thank you for your help.

UPDATE:
@marcossilva. You were right, certainly, when using Python 3 the GPUs are assigned correctly.
I guess Python3 needs to be added to the requirements section ( @Kyubyong )

from tacotron.

basuam avatar basuam commented on August 16, 2024

Closing this issue because now it is clear that Python3 is needed for the GPU capability.

from tacotron.

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.