Git Product home page Git Product logo

Comments (4)

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.

okanduzyel avatar okanduzyel commented on June 2, 2024

I tried a bunch of things and it gives always the same error.

(base) okanduzyel@Okan-MacBook-Pro wavegan % python train_wavegan.py train ./train \
        --data_dir /Users/okanduzyel/Downloads/wavegan-pytorch-master/wavegan-pytorch/sc09/train
Found 18620 audio files in specified directory
Traceback (most recent call last):
  File "/Users/okanduzyel/Downloads/wavegan/train_wavegan.py", line 653, in <module>
    infer(args)
  File "/Users/okanduzyel/Downloads/wavegan/train_wavegan.py", line 244, in infer
    samp_z_n = tf.placeholder(tf.int32, [], name='samp_z_n')
AttributeError: module 'tensorflow' has no attribute 'placeholder'
(base) okanduzyel@Okan-MacBook-Pro wavegan % 

from wavegan.

mattjwarren avatar mattjwarren commented on June 2, 2024

wha versions of tf and python do you have?

from wavegan.

atthom avatar atthom commented on June 2, 2024

This is because you are using TensorFlow 2.X and wavegan require tensorflow-gpu==1.12.0

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.