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
File "test.py", line 82, in
print "categorical accuracy: ", categorical_accuracy( YY_test, p ).eval()
File "/usr/local/lib/python2.7/dist-packages/keras/metrics.py", line 10, in categorical_accuracy
return K.mean(K.equal(K.argmax(y_true, axis=-1),
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 523, in argmax
axis = axis % len(x.get_shape())
AttributeError: 'numpy.ndarray' object has no attribute 'get_shape'
The text was updated successfully, but these errors were encountered:
File "test.py", line 82, in
print "categorical accuracy: ", categorical_accuracy( YY_test, p ).eval()
File "/usr/local/lib/python2.7/dist-packages/keras/metrics.py", line 10, in categorical_accuracy
return K.mean(K.equal(K.argmax(y_true, axis=-1),
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 523, in argmax
axis = axis % len(x.get_shape())
AttributeError: 'numpy.ndarray' object has no attribute 'get_shape'
The text was updated successfully, but these errors were encountered: