-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
too low val_acc #1
Comments
Try changing the no of epochs. |
Hello,When I predict the disease of a plant from an image, the error: AttributeError Traceback (most recent call last) in predict_disease(image_path) AttributeError: 'Sequential' object has no attribute 'predict_classes' I don't know why. Thanks |
You may controlled file path
20 Ara 2021 Pzt 16:22 tarihinde WJJLPK ***@***.***> şunu
yazdı:
… Hello,When I predict the disease of a plant from an image, the error:
AttributeError Traceback (most recent call last)
in ()
----> 1
predict_disease('/content/PlantVillage/val/Potato___Early_blight/03b0d3c1-b5b0-48f4-98aa-f8904670290f___RS_Early.B
7051.JPG')
in predict_disease(image_path)
4 np_image = np.expand_dims(np_image,0)
5 plt.imshow(plt.imread(image_path))
----> 6 result = model.predict_classes(np_image)
7 print((image_labels.classes_[result][0]))
AttributeError: 'Sequential' object has no attribute 'predict_classes'
I don't know why.
Thanks
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK44JTGJAKGGF6XWAMQK5F3UR4U3BANCNFSM454RXL5Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I do same process but i see too low val_acc and val_loss
Why?
Thanks
The text was updated successfully, but these errors were encountered: