keras
keras copied to clipboard
having error in executing object detection module
C:\Smart-Traffic-Management-Using-Deep-Learning-master\cnn model>python trained_Model.py
Loaded model from disk
Traceback (most recent call last):
File "C:\Smart-Traffic-Management-Using-Deep-Learning-master\cnn model\trained_Model.py", line 36, in
Hi @gguy145-
Can you try to predict class using loaded_model.predict(image) instead of loaded_model.predict_classes(image) ?
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.
This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.