Giter Club home page Giter Club logo

Comments (4)

anishpdoshi avatar anishpdoshi commented on July 20, 2024

Do you still get errors when running with python2?

Also as a previous issue mentioned - You'll get some data errors when running on a CPU instead of a GPU. I think you can get around this by changing some of the data formats. See #11 if it applies.

from improved_wgan_training.

magnificGH avatar magnificGH commented on July 20, 2024

@Britjeans Hi,I have the same problem:TypeError: unsupported operand type(s) for /: 'dict_values' and 'int',Did you solve this problem?

from improved_wgan_training.

wanyding avatar wanyding commented on July 20, 2024

@magnificGH Sorry, I didn't...

from improved_wgan_training.

magnificGH avatar magnificGH commented on July 20, 2024

@Britjeans Hi,I have solved this problem by modified the plot.py code:
prints.append("{}\t{}".format(name, np.mean(list(vals.values())))) and some other code in save_images.py. These errors are due to the differences between python2 and python3. Now, I can normally run gan_mnist,py in python3

from improved_wgan_training.

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.