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: forward() missing 2 required positional arguments: 'y' and 'z' #23

Closed
zhaozj89 opened this issue Aug 5, 2018 · 3 comments
Closed

Comments

@zhaozj89
Copy link

zhaozj89 commented Aug 5, 2018

When I try the tests/multiple_inputs.py, it reports the following errors (I use pytorch 0.4):

TypeError: forward() missing 2 required positional arguments: 'y' and 'z'

What could be the problem? Thanks.

@gmalivenko
Copy link
Owner

gmalivenko commented Aug 5, 2018

Hello @zhaozj89.
Can you please tell me more details including package version, tensorflow / keras versions?

Is pytorch2keras was installed with pip? If it was, please, upgrade it to the latest version (I've just updated it).

pip install --upgrade pytorch2keras

@zhaozj89
Copy link
Author

zhaozj89 commented Aug 5, 2018

Thanks for the reply. Previously I installed with pip. It works now.

@zhaozj89 zhaozj89 closed this as completed Aug 5, 2018
@Ai-is-light
Copy link

@nerox8664 would u mind sharing all of your environment? I mean, for example, numpy'version included. The repo work well about a mouth ago, but now, it doesn't work. And, I have upgraded something for the past a mouth.
Thanks.
looking forward to any replies.

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