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: No loop matching the specified signature and casting was found for ufunc true_divide #4

Open
thomas4721 opened this issue Feb 17, 2022 · 1 comment

Comments

@thomas4721
Copy link

hello, i am trying this code and i got this error
"TypeError: No loop matching the specified signature and casting was found for ufunc true_divide"
in line 14 on "main.py"
train_images /= int(np.std(train_images))

can you help me to find a reason why i can get that error..
thank you

@JunningWu
Copy link

use // instead of /

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

2 participants