Giter Site home page Giter Site logo

Comments (6)

somanshreddy avatar somanshreddy commented on August 26, 2024 2

Downgrading to an earlier version of pro-gan-pth fixes this issue.

Run the below command
pip install pro-gan-pth==1.3.3

from t2f.

akanimax avatar akanimax commented on August 26, 2024

@MeteoRex11,

I see. The latest pro_gan_pytorch package has the projection variant of the conditional ProGAN. Could you try some of the previous versions of the package here?

Best regards,
@akanimax

from t2f.

harbarex avatar harbarex commented on August 26, 2024

Hi. This error is fixed, but I have a new error now. I changed the following in the config files:

images_dir: "../data/LFW/lfw"

to

images_dir: "../data/LFW/Face2Text/face2text_v0.1/lfw"

And now I am getting the error:
RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.LongTensor for argument #3 'index'

from t2f.

jhamukesh998 avatar jhamukesh998 commented on August 26, 2024

@MeteoRex11 Were you able to run this code ? After Figuring out errors I Changed the pickle file's version from 4 to 2 as well coz pickle 4 isn't supported in python2.7 . But got a new error saying super() has only 1 argument something in pro GAN. If u ran the code can you make a new repository plz. These codes seem to be buggy.

from t2f.

harbarex avatar harbarex commented on August 26, 2024

@MeteoRex11 Were you able to run this code ? After Figuring out errors I Changed the pickle file's version from 4 to 2 as well coz pickle 4 isn't supported in python2.7 . But got a new error saying super() has only 1 argument something in pro GAN. If u ran the code can you make a new repository plz. These codes seem to be buggy.

@iamjhamukesh I ended up using the ProGAN 1.4.4 , and then received a few other errors, which I solved by tweaking the code of torch & trainer.py a bit. But it completely depends on your system, as I was using Python 3.6 instead of 2.7.

from t2f.

jhamukesh998 avatar jhamukesh998 commented on August 26, 2024

@MeteoRex11 Can you Upload the repository of your code on github Plz. I guess your code is better than this one. This one is outdated and doesn't work well. I am stuck with this one since approx 2 weeks

from t2f.

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.