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
"C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\Scripts\python.exe" "C:/Users/Acer/Desktop/python project/Simple-OpenCV-Calculator-master/cnn_keras.py"
Using TensorFlow backend.
WARNING:tensorflow:From C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\backend\tensorflow_backend.py:3445: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.
Instructions for updating:
Please use rate instead of keep_prob. Rate should be set to rate = 1 - keep_prob.
Traceback (most recent call last):
File "C:/Users/Acer/Desktop/python project/Simple-OpenCV-Calculator-master/cnn_keras.py", line 67, in
train()
File "C:/Users/Acer/Desktop/python project/Simple-OpenCV-Calculator-master/cnn_keras.py", line 62, in train
model.fit(train_images, train_labels, validation_data=(test_images, test_labels), epochs=50, batch_size=100, callbacks=callbacks_list)
File "C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\engine\training.py", line 952, in fit
batch_size=batch_size)
File "C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\engine\training.py", line 789, in _standardize_user_data
exception_prefix='target')
File "C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\engine\training_utils.py", line 138, in standardize_input_data
str(data_shape))
ValueError: Error when checking target: expected dense_2 to have shape (13,) but got array with shape (40,)
please help what can i do
The text was updated successfully, but these errors were encountered:
"C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\Scripts\python.exe" "C:/Users/Acer/Desktop/python project/Simple-OpenCV-Calculator-master/cnn_keras.py"
Using TensorFlow backend.
WARNING:tensorflow:From C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\backend\tensorflow_backend.py:3445: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.
Instructions for updating:
Please use
rate
instead ofkeep_prob
. Rate should be set torate = 1 - keep_prob
.Traceback (most recent call last):
File "C:/Users/Acer/Desktop/python project/Simple-OpenCV-Calculator-master/cnn_keras.py", line 67, in
train()
File "C:/Users/Acer/Desktop/python project/Simple-OpenCV-Calculator-master/cnn_keras.py", line 62, in train
model.fit(train_images, train_labels, validation_data=(test_images, test_labels), epochs=50, batch_size=100, callbacks=callbacks_list)
File "C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\engine\training.py", line 952, in fit
batch_size=batch_size)
File "C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\engine\training.py", line 789, in _standardize_user_data
exception_prefix='target')
File "C:\Users\Acer\Desktop\python project\Simple-OpenCV-Calculator-master\venv\lib\site-packages\keras\engine\training_utils.py", line 138, in standardize_input_data
str(data_shape))
ValueError: Error when checking target: expected dense_2 to have shape (13,) but got array with shape (40,)
please help what can i do
The text was updated successfully, but these errors were encountered: