T2F icon indicating copy to clipboard operation
T2F copied to clipboard

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

Open sharmahr opened this issue 4 years ago • 2 comments

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?

sharmahr avatar Sep 02 '19 17:09 sharmahr

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

ulucsahin avatar Oct 27 '19 14:10 ulucsahin

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

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

somanshreddy avatar Dec 27 '19 07:12 somanshreddy