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

Getting Error ValueError: cannot reshape array of size 4096 into shape (1,32,32,3) #18

Open
yhammadmufin opened this issue Jan 17, 2024 · 0 comments

Comments

@yhammadmufin
Copy link

Getting Error on the following Image

image (2)

Traceback (most recent call last):
File "/content/Korean-OCR-Model-Design-based-on-Keras-CNN/test.py", line 31, in
test_Image(T_Image_addr,index_to_syllable)
File "/content/Korean-OCR-Model-Design-based-on-Keras-CNN/test.py", line 20, in test_Image
T_Image_Array = T_Image_Array.reshape(1,32,32,3)
ValueError: cannot reshape array of size 4096 into shape (1,32,32,3)

@yhammadmufin yhammadmufin changed the title Getting Error Traceback (most recent call last): File "/content/Korean-OCR-Model-Design-based-on-Keras-CNN/test.py", line 31, in <module> test_Image(T_Image_addr,index_to_syllable) File "/content/Korean-OCR-Model-Design-based-on-Keras-CNN/test.py", line 20, in test_Image T_Image_Array = T_Image_Array.reshape(1,32,32,3) ValueError: cannot reshape array of size 4096 into shape (1,32,32,3) Getting Error Traceback (most recent call last): Jan 17, 2024
@yhammadmufin yhammadmufin changed the title Getting Error Traceback (most recent call last): Getting Error ValueError: cannot reshape array of size 4096 into shape (1,32,32,3) Jan 17, 2024
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