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: true_divide() received an invalid combination of arguments #17

Open
Kn1ght-z opened this issue Nov 3, 2020 · 0 comments
Open

Comments

@Kn1ght-z
Copy link

Kn1ght-z commented Nov 3, 2020

运行9-advbox-mnist-fgsm代码报错查了一些博客说是python版本的问题具体解决方法还是不清楚
TypeError: true_divide() received an invalid combination of arguments - got (numpy.ndarray, int), but expected one of:

  • (Tensor input, Tensor other, *, Tensor out)
  • (Tensor input, Number other)
    didn't match because some of the arguments have invalid types: (numpy.ndarray, int)
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

1 participant