Open ozlemalci opened 3 years ago
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)
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_Earlyblight/03b0d3c1-b5b0-48f4-98aa-f8904670290fRS_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((imagelabels.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 https://github.com/kevalnagda/plant-disease-detection/issues/1#issuecomment-997921264, 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