GithubHelp home page GithubHelp logo

importing TGAN about tgan HOT 2 OPEN

foesine avatar foesine commented on June 4, 2024
importing TGAN

from tgan.

Comments (2)

ivanguerron21 avatar ivanguerron21 commented on June 4, 2024 2

Happened to me as well, I copied the original code and tried to use it but had a lot of problems. I am now stuck with this error ValueError: Tried to convert 't' to a tensor and failed. Error: Shapes must be equal rank, but are 2 and 1
From merging shape 5 with other shapes. for '{{node GAN_loss/discrim/L2Loss/packed}} = Pack[N=7, T=DT_FLOAT, axis=0](GAN_loss/discrim/L2Loss/packed/ReadVariableOp, GAN_loss/discrim/L2Loss/packed/ReadVariableOp_1, GAN_loss/discrim/L2Loss/packed/ReadVariableOp_2, GAN_loss/discrim/L2Loss/packed/ReadVariableOp_3, GAN_loss/discrim/L2Loss/packed/ReadVariableOp_4, GAN_loss/discrim/L2Loss/packed/ReadVariableOp_5, GAN_loss/discrim/L2Loss/packed/ReadVariableOp_6)' with input shapes: [26,100], [100], [100,100], [100], [110], [110,1], [1].
Let me know if you come up with something for this

from tgan.

AryanSaeedi avatar AryanSaeedi commented on June 4, 2024

@ ivanguerron21 I had the same problem at some point. try working with a virtual environment as suggested and use the python 3.7 or any other version suggested here https://github.com/sdv-dev/TGAN. Also make sure to install tensorflow version 1.15.0. it worked for me

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.