Open Nagaraj4896 opened 4 years ago
@Nagaraj4896, The error is not reproducible. The test _test_application_basic(app, module=module)
has been checked in Travis. Are you using tests/data/elephant.jpg
?
@taehoonlee yes i am using tests/data/elephant.jpg only.
_ test_resnet __ [gw0] linux -- Python 3.6.7 /home/ironman/anaconda3/envs/Tf_Cv_Ker/bin/python3
test_check.py:197:
test_check.py:86: in wrapper output = func(*args, **kwargs) test_check.py:150: in _test_application_basic lambda: app(weights='imagenet'), module.preprocess_input) test_check.py:140: in _get_output_shape return (model.output_shape, model.predict(x)) /home/ironman/anaconda3/envs/Tf_CvKer/lib/python3.6/site-packages/keras/engine/training.py:1441: in predict x, , _ = self._standardize_user_data(x) /home/ironman/anaconda3/envs/Tf_Cv_Ker/lib/python3.6/site-packages/keras/engine/training.py:579: in _standardize_user_data exception_prefix='input')
data = [array([[[[ 6.4060997e+01, 9.9060997e+01, 1.2106100e+02, ..., 1.1406100e+02, 1.1406100e+02, 1.1406100e+...6.9680000e+01, -6.6800003e+00, ..., 3.4320000e+01, 2.6320000e+01, 5.3320000e+01]]]], dtype=float32)] names = ['input_1'], shapes = [(None, 3, 224, 224)], check_batch_axis = False exception_prefix = 'input'
/home/ironman/anaconda3/envs/Tf_Cv_Ker/lib/python3.6/site-packages/keras/engine/training_utils.py:145: ValueError