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
Hi,
I get the following error while running demo.py file after installing required libraries.
(had) nyl@nyl:~/human-activity-dih18$ python demo.py
Using TensorFlow backend.
Categories Found 101
Input Stream: 0
2019-01-22 17:55:36.072776: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
[Errno 2] No such file or directory: 'results/saved.json'
Created Model successfully
0.0030963426309745246 -0.009095851368353003 0.3563824909277525 0.5261821433766081 0
-0.001895671513380548 0.03250532878511464 0.8702251590445159 0.9992113986022908 0
0.008527961674331702 -0.0007998917801733674 0.3543069217095458 0.4232888445756815 0
-0.005746190149005903 0.030725492451159575 0.8696193282026956 0.9969112367825927 0
Traceback (most recent call last):
File "demo.py", line 197, in
draw_boxes(inp, detected)
File "demo.py", line 40, in draw_boxes
prediction = classifier.predict(roi)[0]
File "/home/nyl/anaconda2/envs/had/lib/python3.6/site-packages/keras/engine/training.py", line 1147, in predict
x, _, _ = self._standardize_user_data(x)
File "/home/nyl/anaconda2/envs/had/lib/python3.6/site-packages/keras/engine/training.py", line 749, in _standardize_user_data
exception_prefix='input')
File "/home/nyl/anaconda2/envs/had/lib/python3.6/site-packages/keras/engine/training_utils.py", line 137, in standardize_input_data
str(data_shape))
ValueError: Error when checking input: expected conv2d_1_input to have shape (64, 64, 3) but got array with shape (64, 64, 1)
The text was updated successfully, but these errors were encountered:
Hi,
I get the following error while running demo.py file after installing required libraries.
(had) nyl@nyl:~/human-activity-dih18$ python demo.py
Using TensorFlow backend.
Categories Found 101
Input Stream: 0
2019-01-22 17:55:36.072776: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
[Errno 2] No such file or directory: 'results/saved.json'
Created Model successfully
0.0030963426309745246 -0.009095851368353003 0.3563824909277525 0.5261821433766081 0
-0.001895671513380548 0.03250532878511464 0.8702251590445159 0.9992113986022908 0
0.008527961674331702 -0.0007998917801733674 0.3543069217095458 0.4232888445756815 0
-0.005746190149005903 0.030725492451159575 0.8696193282026956 0.9969112367825927 0
Traceback (most recent call last):
File "demo.py", line 197, in
draw_boxes(inp, detected)
File "demo.py", line 40, in draw_boxes
prediction = classifier.predict(roi)[0]
File "/home/nyl/anaconda2/envs/had/lib/python3.6/site-packages/keras/engine/training.py", line 1147, in predict
x, _, _ = self._standardize_user_data(x)
File "/home/nyl/anaconda2/envs/had/lib/python3.6/site-packages/keras/engine/training.py", line 749, in _standardize_user_data
exception_prefix='input')
File "/home/nyl/anaconda2/envs/had/lib/python3.6/site-packages/keras/engine/training_utils.py", line 137, in standardize_input_data
str(data_shape))
ValueError: Error when checking input: expected conv2d_1_input to have shape (64, 64, 3) but got array with shape (64, 64, 1)
The text was updated successfully, but these errors were encountered: