potato-disease-classification
potato-disease-classification copied to clipboard
Potato Disease Classification - Training, Rest APIs, and Frontend to test.
when i upload even a meme image , it is classifying as healthy.
2023-02-06 23:05:44.031991: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them...
Sir, in line 3 images[i].numpy() should be img def predict(model, img): img_array = 3 tf.keras.preprocessing.image.img_to_array(images[i].numpy()) img_array = tf.expand_dims(img_array, 0) predictions = model.predict(img_array) predicted_class = class_names[np.argmax(predictions[0])] confidence = round(100 * (np.max(predictions[0])),...