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

See original GitHub issue

When I run train_network.py,

I get the error:


Traceback (most recent call last):
  File "train_network.py", line 428, in <module>
    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?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
somanshreddycommented, Dec 27, 2019

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

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

0reactions
jhamukesh998commented, Jun 10, 2019

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: __init__() got an unexpected keyword argument ...
I am embedding a graph with Node2Vec library but I am getting this as error : TypeError: init() got an unexpected keyword argument...
Read more >
TypeError: __init__() got an unexpected keyword ... - GitHub
When I run train_network.py, I get the error: Traceback (most ... TypeError: init() got an unexpected keyword argument 'embedding_size'.
Read more >
TypeError: __init__() got an unexpected keyword argument ...
Hi, I have followed the steps given in the chapter to set up mflix app. ... TypeError: init() got an unexpected keyword argument...
Read more >
__init__() got an unexpected keyword argument 'method'
The error init() got an unexpected keyword argument 'step_max' essentially means that the code is ... why do we get TypeError on the...
Read more >
init__() got an unexpected keyword argument 'max_iter'?
TypeError : init() got an unexpected keyword argument 'max_iter'. I m running the linear regression code in Community edition. Google says reinstall --....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found