You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The image size in question is 1600 x 1280. The original shape is (1600, 1280, 4) which is why it's unable to go from 4 to 3. The other dimensions would also need changing.
I'm still getting introduced to this side of development so this is all fairly new to me. Any advice is appreciated!
I am using these versions:
Tensorflow: 2.4.0 (had to install this due to pip not finding the 2.0.1 version)
Pillow: 8.1.0
Numpy: 1.19.5
macos: 10.15.6
The text was updated successfully, but these errors were encountered:
justnealpatel
changed the title
ValueError: cannot reshape array of size 9946800 into shape (540,383,3)
ValueError: cannot reshape array of size 8192000 into shape (1600,1280,3)
Jan 20, 2021
This error is coming from
The image size in question is 1600 x 1280. The original shape is
(1600, 1280, 4)
which is why it's unable to go from 4 to 3. The other dimensions would also need changing.I'm still getting introduced to this side of development so this is all fairly new to me. Any advice is appreciated!
I am using these versions:
pip
not finding the 2.0.1 version)The text was updated successfully, but these errors were encountered: