Git Product home page Git Product logo

Comments (5)

mattjwarren avatar mattjwarren commented on June 2, 2024 3

I have created an updated fork of this repository migrated to run on Tensorflow 2. You may have more success getting it to run in modern environments, especially if you are aiming to train on newer GPU hardware. https://github.com/mattjwarren/wavegan

from wavegan.

chrisdonahue avatar chrisdonahue commented on June 2, 2024

Unfortunately the repo has not yet been updated to work with TF>2. It might be fairly straightforward to patch it using tf.compat.v1, though I don't have much experience with TF2 :(

from wavegan.

luisArandas avatar luisArandas commented on June 2, 2024

I think I managed a workaround on Linux with tf-gpu 2.2.0.0rc1 if you want I can fork and upload (with tf.compat.v1, which is not super nice but it is training right now). Tho I can't access the tensorboard with the newest cuda drivers.

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

Had problems with the device search and added thecommon workaround

sess = tf.compat.v1.Session(config=tf.ConfigProto( allow_soft_placement=True, log_device_placement=True))

Will see how this goes. How much time/iterations do you recommend? Kind of blind here lol
Thank you

from wavegan.

markhanslip avatar markhanslip commented on June 2, 2024

Hi @luisArandas,

Did you manage to get this working? It was working fine for me with TF 1.13 middle of last year, but now I'm revisiting it and it no longer works properly. The model is clearly in the GPU memory and it claims to be training, but for some reason it's progressing at CPU-like speeds. The same behaviour is happening locally and in Colab. I don't have such problems with other repos that use TF v2 hence I'm wondering if the tf.compat.v1 workaround works with this codebase. Obviously I will try it but these things take time and it would be great to hear if you have something working already!

Thanks,

Mark

from wavegan.

markhanslip avatar markhanslip commented on June 2, 2024

Thanks for sorting this out, appreciated. It was getting annoying to have to restart Colab every time it gave me an A100

from wavegan.

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.