Skip to content
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

Open
ozlemalci opened this issue Jun 1, 2021 · 3 comments
Open

too low val_acc #1

ozlemalci opened this issue Jun 1, 2021 · 3 comments

Comments

@ozlemalci
Copy link

I do same process but i see too low val_acc and val_loss
Why?

Thanks

@SureshbabuAkash1999
Copy link

Try changing the no of epochs.

@WJJLPK
Copy link

WJJLPK commented Dec 20, 2021

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

@ozlemalci
Copy link
Author

ozlemalci commented Dec 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants