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
ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 3 array(s), but instead got the following list of 2 arrays.
#55
Open
dassima opened this issue
Mar 27, 2018
· 0 comments
Begin training model, 10000 epochs.
Epoch 1/10000
Traceback (most recent call last):
File "main.py", line 60, in <module>
main(None)
File "main.py", line 57, in main
period = 1)])
File "/home/diana/Documents/VirtualNN/local/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/home/diana/Documents/VirtualNN/local/lib/python2.7/site-packages/keras/engine/training.py", line 2114, in fit_generator
class_weight=class_weight)
File "/home/diana/Documents/VirtualNN/local/lib/python2.7/site-packages/keras/engine/training.py", line 1826, in train_on_batch
check_batch_axis=True)
File "/home/diana/Documents/VirtualNN/local/lib/python2.7/site-packages/keras/engine/training.py", line 1407, in _standardize_user_data
exception_prefix='input')
File "/home/diana/Documents/VirtualNN/local/lib/python2.7/site-packages/keras/engine/training.py", line 88, in _standardize_input_data
'...')
ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 3 array(s), but instead got the following list of 2 arrays: [array([[[[0.5803922 , 0.5882353 , 0.5921569 , ..., 0.53333336,
0.5294118 , 0.5254902 ],
[0.5882353 , 0.5921569 , 0.59607846, ..., 0.5372549 ,
0.53333336, 0.5294118 ],
...
I am using ImageDataGenerator and I create my dataset like this because the input of my gan are noise and images, labels are images also:
What do you think I get this error, because from my understanding i generate input, output shape for data_generator.
The text was updated successfully, but these errors were encountered:
dassima
changed the title
TypeError: can only concatenate tuple (not "int") to tuple
ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 3 array(s), but instead got the following list of 2 arrays.
Mar 27, 2018
Hi.
I get the error:
I am using ImageDataGenerator and I create my dataset like this because the input of my gan are noise and images, labels are images also:
What do you think I get this error, because from my understanding i generate input, output shape for data_generator.
The text was updated successfully, but these errors were encountered: