-
Notifications
You must be signed in to change notification settings - Fork 125
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
please how correct the Error (python V 3.5) #10
Comments
If youare working with grayscale images, all color values are same. |
Or maybe copy the line three times: ...? |
thank you for replay |
Check previous lines in your code: |
If you are using RGB image, you might need to convert them to gray scale image. Try print(pixel[x,y]). It needs to be an integer I think |
I attempted |
Could you please paste the output here? |
thankyou for question. i solve my problem - just convert rgb to grayscale and it's ok |
Hi ArtemGuy File "convert-images-to-mnist-cats-dogs.py", line 40, in |
Hi Hamza-ben, |
TypeError: an integer is required (got type tuple)
thank you very much for your help .
The text was updated successfully, but these errors were encountered: