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
Traceback (most recent call last):
File "fine_tune_inceptionv3.py", line 129, in
callbacks=[mc_top, tb])
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 1557, in fit_generator
class_weight=class_weight)
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 1314, in train_on_batch
check_batch_axis=True)
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 1033, in _standardize_user_data
exception_prefix='model target')
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 124, in standardize_input_data
str(array.shape))
ValueError: Error when checking model target: expected dense_2 to have shape (None, 2) but got array with shape (24, 13)
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "fine_tune_inceptionv3.py", line 129, in
callbacks=[mc_top, tb])
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 1557, in fit_generator
class_weight=class_weight)
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 1314, in train_on_batch
check_batch_axis=True)
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 1033, in _standardize_user_data
exception_prefix='model target')
File "/home/heliangwei/tensorflow3/lib/python3.6/site-packages/keras/engine/training.py", line 124, in standardize_input_data
str(array.shape))
ValueError: Error when checking model target: expected dense_2 to have shape (None, 2) but got array with shape (24, 13)
The text was updated successfully, but these errors were encountered: