Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'embedding_size' #15

Open
sharmahr opened this issue Sep 2, 2019 · 2 comments

Comments

@sharmahr
Copy link

sharmahr commented Sep 2, 2019

When I run train_network.py,

I get the error:

Traceback (most recent call last):
File "train_network.py", line 428, in
main(parse_arguments())
File "train_network.py", line 381, in main
device=device
TypeError: init() got an unexpected keyword argument 'embedding_size'

Does anyone know how to solve this?

@ulucsahin
Copy link

Unfortunately some methods are changed in pro_gan_pytorch and this code gives this error. What version of pro_gan_pytorch do we need?

@somanshreddy
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants