Comments (6)
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.
@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.
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.
@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.
@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.
@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)
- Include the pytorch model of the final trained stage in the repo!
- I am getting this error and I checked out 1 parameter was passed in Losses.py. Can you help
- missing json HOT 5
- RuntimeError: Expected object of backend CUDA but got backend CPU for argument #3 'index' HOT 2
- Image generated not good, not even comparable. HOT 4
- TypeError: __init__() got an unexpected keyword argument 'embedding_size' HOT 2
- RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.LongTensor for argument #3 'index' HOT 2
- Generator Evaluation Metric
- Use this repo or wait for v2? HOT 2
- python version incompatibility
- Find/Create an open dataset HOT 1
- Mode collapse
- should use torch==0.4.1 rather than 0.4.0
- Broken code in train_network.py
- Slack Group for GAN / Deep RL enthusiasts. HOT 1
- Code error HOT 3
- RuntimeError: cuDNN version incompatibility: PyTorch was compiled against 7401 but linked against 7301
- How do we give input to the model, and where are the processed images stored? HOT 3
- Trying a new data set which has around 200K face images and atrributes.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t2f.