ValueError: cannot reshape array of size 1 into shape (0,0,4)
Your issue may already be reported! Please make sure to search all open and closed issues before starting a new one.
I run the testmodel last cell.
ValueError: cannot reshape array of size 1 into shape (0,0,4)
Problem description
(Please provide a 2-3 sentence description of your problem. Be concise to ensure this description is useful for future users who might run into the same issue.)
Problem details
ValueError Traceback (most recent call last)
ValueError: cannot reshape array of size 1 into shape (0,0,4)
Experiment/Environment details
keras 2.1.2 numpy 1.13.3 tensorflow 1.3 pandas 0.20.3
when does it happened? is it from the start or in the middle of running? have you tried to re-train the model?
idk if that will works for you but try this:
image_rgba = image1d.reshape(image_response.height, image_response.width, 4)
change to
image_rgba = image1d.reshape(image_response.height, image_response.width, 3)