Nope, I don’t have this file.
This is what I have on screen:
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
outputs will be stored at ‘./output/’
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\topology.py:1271: UserWarning: Update your InputLayer
call to the Keras 2 API: InputLayer(name="Input_1", sparse=False, dtype="float32", batch_input_shape=[None, 1, ...)
return cls(**config)
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\topology.py:1271: UserWarning: Update your Dense
call to the Keras 2 API: Dense(trainable=True, kernel_constraint=None, input_dim=784, bias_constraint=None, kernel_regularizer=None, use_bias=True, activity_regularizer=None, name="Dense_1", bias_regularizer=None, units=512, activation="relu", kernel_initializer="glorot_uniform")
return cls(**config)
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\topology.py:1271: UserWarning: Update your Dropout
call to the Keras 2 API: Dropout(trainable=True, name="Dropout_1", rate=0.3)
return cls(**config)
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\topology.py:1271: UserWarning: Update your Dense
call to the Keras 2 API: Dense(trainable=True, kernel_constraint=None, input_dim=512, bias_constraint=None, kernel_regularizer=None, use_bias=True, activity_regularizer=None, name="Dense_2", bias_regularizer=None, units=512, activation="relu", kernel_initializer="glorot_uniform")
return cls(**config)
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\topology.py:1271: UserWarning: Update your Dropout
call to the Keras 2 API: Dropout(trainable=True, name="Dropout_2", rate=0.3)
return cls(**config)
C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\topology.py:1271: UserWarning: Update your Dense
call to the Keras 2 API: Dense(trainable=True, kernel_constraint=None, input_dim=512, bias_constraint=None, kernel_regularizer=None, use_bias=True, activity_regularizer=None, name="Dense_3", bias_regularizer=None, units=10, activation="softmax", kernel_initializer="glorot_uniform")
return cls(**config)
2018-06-01 13:01:20.022619: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
aborting due to exception… Please check input file format!
Traceback (most recent call last):
File “test.py”, line 249, in test_model
res = customPredict(test_data, config, modelFile)
File “test.py”, line 213, in customPredict
return mod.predict(test_data)
File “C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training.py”, line 1817, in predict
check_batch_axis=False)
File “C:\Users\Rizwan.Khan\AppData\Local\conda\conda\envs\py35\lib\site-packages\keras\engine\training.py”, line 123, in _standardize_input_data
str(data_shape))
ValueError: Error when checking : expected Input_1 to have shape (1, 28, 28) but got array with shape (28, 28, 1)