anujshah1003 / own_data_cnn_implementation_keras

A complete tutorial on using own dataset to train a CNN from scratch in Keras (TF & Theano Backend)-
175 stars 94 forks source link

Unsupported Function #12

Open eltoneo opened 4 years ago

eltoneo commented 4 years ago

Re: custom_data_cnn.py Anaconda2-5.1.0-MacOSX-x86_64.sh Dear Anuj Shah: Suspect ‘show_accuracy’ is not supported on this build, please enlighten. Sincerely, eltoneo

File "/Users/dutch/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile exec(compile(f.read(), filename, 'exec'), namespace) File "/Users/dutch/anaconda3/SRC/custom_data_cnn.py", line 246, in score = model.evaluate(X_test, y_test, show_accuracy=True, verbose=0)

TypeError: evaluate() got an unexpected keyword argument 'show_accuracy'

/Users/dutch/anaconda3/SRC/custom_data_cnn.py(246)() 244 # Evaluating the model 245 --> 246 score = model.evaluate(X_test, y_test, show_accuracy=True, verbose=0) 247 print('Test Loss:', score[0]) 248 print('Test accuracy:', score[1])