ryanwang058
commited on
Commit
·
eddc864
1
Parent(s):
ec5d79d
Add testing images
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- app.py +1 -1
- test/Apple___Apple_scab/2c648fcd-d637-4559-beaa-9dd6079646fb___FREC_Scab 3213_new30degFlipLR.JPG +0 -0
- test/Apple___Apple_scab/bceb695a-e877-4b2b-bf05-241661d511d4___FREC_Scab 3240.JPG +0 -0
- test/Apple___Apple_scab/cd7234b0-3c97-4763-9d16-5a97c87140f7___FREC_Scab 3207_270deg.JPG +0 -0
- test/Apple___Black_rot/0d17b92b-8ec2-4a00-a8ff-9daea3fed2e8___JR_FrgE.S 2915.JPG +0 -0
- test/Apple___Black_rot/6e21042a-928f-4e40-81bf-3a103ff52765___JR_FrgE.S 2938.JPG +0 -0
- test/Apple___Black_rot/c498d495-5796-4d08-9eaf-c1f26ed1099a___JR_FrgE.S 2888_90deg.JPG +0 -0
- test/Apple___Cedar_apple_rust/38395894-268c-4ae1-827d-679f97e1a262___FREC_C.Rust 3998_newGRR.JPG +0 -0
- test/Apple___Cedar_apple_rust/a5644e1f-cc61-4ecc-a642-a39cb32cf157___FREC_C.Rust 4450_270deg.JPG +0 -0
- test/Apple___Cedar_apple_rust/e1140e29-f2c5-43ca-b69c-981f278d0b86___FREC_C.Rust 3569_new30degFlipLR.JPG +0 -0
- test/Apple___healthy/19b3dc29-de7d-46e8-af14-7451d779f424___RS_HL 7373.JPG +0 -0
- test/Apple___healthy/23a11b8b-6812-481e-9258-e07cc24fdad4___RS_HL 5898.JPG +0 -0
- test/Apple___healthy/b202b328-dec4-4b4a-bf6f-50c331f63f89___RS_HL 6311_flipTB.JPG +0 -0
- test/Blueberry___healthy/0b0e61c1-0f6a-4cfa-8e3d-6034c1d95705___RS_HL 2249_flipTB.JPG +0 -0
- test/Blueberry___healthy/6000235e-c208-409a-bd26-e39e653337d5___RS_HL 0487.JPG +0 -0
- test/Blueberry___healthy/767f9252-73cd-469f-9270-54b0a35b8bc9___RS_HL 0481.JPG +0 -0
- test/Cherry_(including_sour)___Powdery_mildew/66175365-07ce-4b17-af32-5eb54e2266b5___FREC_Pwd.M 4853.JPG +0 -0
- test/Cherry_(including_sour)___Powdery_mildew/edf764dc-8951-4a95-80f7-4827693db0db___FREC_Pwd.M 0593.JPG +0 -0
- test/Cherry_(including_sour)___Powdery_mildew/fd7fbe5c-d234-4c16-b587-faed3407e2dd___FREC_Pwd.M 0474.JPG +0 -0
- test/Cherry_(including_sour)___healthy/318dfc8b-46ee-43cd-9fa5-7bdb8c022e4b___JR_HL 9840.JPG +0 -0
- test/Cherry_(including_sour)___healthy/91877ab2-d8bb-4743-815a-6e55e833b3b9___JR_HL 4310_180deg.JPG +0 -0
- test/Cherry_(including_sour)___healthy/b8b81fac-673a-4f90-849e-b1fa9cd255df___JR_HL 4060_flipTB.JPG +0 -0
- test/Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot/59abb5c6-b107-4e6d-8ae7-25bcadc18b3e___RS_GLSp 4476_270deg.JPG +0 -0
- test/Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot/792d473d-472a-43df-b0e1-dba9ab94edd5___RS_GLSp 4330.JPG +0 -0
- test/Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot/cfbb5e1c-2812-4467-9748-ee171462c331___RS_GLSp 4371_90deg.JPG +0 -0
- test/Corn_(maize)___Common_rust_/RS_Rust 1675_flipLR.JPG +0 -0
- test/Corn_(maize)___Common_rust_/RS_Rust 1734_flipLR.JPG +0 -0
- test/Corn_(maize)___Common_rust_/RS_Rust 1886_flipLR.JPG +0 -0
- test/Corn_(maize)___Northern_Leaf_Blight/09140ec5-e485-4770-9c5d-dabd9727d6d7___RS_NLB 3721.JPG +0 -0
- test/Corn_(maize)___Northern_Leaf_Blight/2418712a-bebb-45ca-b632-4f0548133221___RS_NLB 3477_180deg.JPG +0 -0
- test/Corn_(maize)___Northern_Leaf_Blight/739f7cf2-2f79-473b-864f-1a35916dc5a7___RS_NLB 4094_180deg.JPG +0 -0
- test/Corn_(maize)___healthy/03000565-29dc-4d56-8132-a5d0d36a8359___R.S_HL 0602_flipLR.JPG +0 -0
- test/Corn_(maize)___healthy/28ca7e31-0f73-4546-b234-98dcaa581d67___R.S_HL 7920 copy.jpg +0 -0
- test/Corn_(maize)___healthy/d16351b3-76fb-4d80-b2e4-2809bcf06380___R.S_HL 5538 copy_flipLR.jpg +0 -0
- test/Grape___Black_rot/0679fd57-9695-4627-9825-b0a55cdfa84b___FAM_B.Rot 0451_flipLR.JPG +0 -0
- test/Grape___Black_rot/40f8f9da-fb45-4cde-b969-3ef1fdf8e713___FAM_B.Rot 3097.JPG +0 -0
- test/Grape___Black_rot/c7b7d7a8-fb2b-4149-b2c8-83ee2b9a7ead___FAM_B.Rot 0746.JPG +0 -0
- test/Grape___Esca_(Black_Measles)/40bb979c-d121-44c1-b522-9f5b5b28dddd___FAM_B.Msls 1274_flipLR.JPG +0 -0
- test/Grape___Esca_(Black_Measles)/ee6d868f-c7a2-400c-aa5e-2e8adeae885a___FAM_B.Msls 4159_flipLR.JPG +0 -0
- test/Grape___Esca_(Black_Measles)/f6a14f82-c522-43b3-b371-4872f1b569c6___FAM_B.Msls 0907.JPG +0 -0
- test/Grape___Leaf_blight_(Isariopsis_Leaf_Spot)/54a17d93-22ce-4478-bb69-5d9320b34ad0___FAM_L.Blight 4870.JPG +0 -0
- test/Grape___Leaf_blight_(Isariopsis_Leaf_Spot)/c9a2c0cb-b461-437f-960d-b9475bfe3a34___FAM_L.Blight 4696.JPG +0 -0
- test/Grape___Leaf_blight_(Isariopsis_Leaf_Spot)/dcea25a7-6835-42f9-9232-1c07463a85c1___FAM_L.Blight 3762.JPG +0 -0
- test/Grape___healthy/44906155-2446-487e-8531-6c0d98e751dc___Mt.N.V_HL 8992_270deg.JPG +0 -0
- test/Grape___healthy/9ceba66a-d7b0-4ed4-98c3-37d361517a90___Mt.N.V_HL 6147_270deg.JPG +0 -0
- test/Grape___healthy/b07129a6-b8b0-4715-b76f-f89bd40c6770___Mt.N.V_HL 8994_180deg.JPG +0 -0
- test/Orange___Haunglongbing_(Citrus_greening)/cf3e5a0d-37bd-4d38-bd88-b517afdfadbd___CREC_HLB 7328.JPG +0 -0
- test/Orange___Haunglongbing_(Citrus_greening)/d78165c6-c098-457e-8d5e-70bf92afdf0d___CREC_HLB 5485.JPG +0 -0
- test/Orange___Haunglongbing_(Citrus_greening)/ea37a5ae-4d9a-4f67-9303-7da5ed91d5be___CREC_HLB 7297.JPG +0 -0
- test/Peach___Bacterial_spot/93b24318-47cc-4438-ac43-d790e5f24305___Rut._Bact.S 1399.JPG +0 -0
app.py
CHANGED
@@ -31,7 +31,7 @@ model_choices = list(model_paths.keys())
|
|
31 |
with gr.Blocks() as demo:
|
32 |
gr.Markdown("# Plant Disease Classifier")
|
33 |
with gr.Row():
|
34 |
-
image_input = gr.Image(type="
|
35 |
model_input = gr.Dropdown(choices=model_choices, label="Select Model", value="ResNet")
|
36 |
classify_button = gr.Button("Classify")
|
37 |
output_text = gr.Textbox(label="Predicted Class")
|
|
|
31 |
with gr.Blocks() as demo:
|
32 |
gr.Markdown("# Plant Disease Classifier")
|
33 |
with gr.Row():
|
34 |
+
image_input = gr.Image(type="pil", label="Upload an Image")
|
35 |
model_input = gr.Dropdown(choices=model_choices, label="Select Model", value="ResNet")
|
36 |
classify_button = gr.Button("Classify")
|
37 |
output_text = gr.Textbox(label="Predicted Class")
|
test/Apple___Apple_scab/2c648fcd-d637-4559-beaa-9dd6079646fb___FREC_Scab 3213_new30degFlipLR.JPG
ADDED
|
test/Apple___Apple_scab/bceb695a-e877-4b2b-bf05-241661d511d4___FREC_Scab 3240.JPG
ADDED
|
test/Apple___Apple_scab/cd7234b0-3c97-4763-9d16-5a97c87140f7___FREC_Scab 3207_270deg.JPG
ADDED
|
test/Apple___Black_rot/0d17b92b-8ec2-4a00-a8ff-9daea3fed2e8___JR_FrgE.S 2915.JPG
ADDED
|
test/Apple___Black_rot/6e21042a-928f-4e40-81bf-3a103ff52765___JR_FrgE.S 2938.JPG
ADDED
|
test/Apple___Black_rot/c498d495-5796-4d08-9eaf-c1f26ed1099a___JR_FrgE.S 2888_90deg.JPG
ADDED
|
test/Apple___Cedar_apple_rust/38395894-268c-4ae1-827d-679f97e1a262___FREC_C.Rust 3998_newGRR.JPG
ADDED
|
test/Apple___Cedar_apple_rust/a5644e1f-cc61-4ecc-a642-a39cb32cf157___FREC_C.Rust 4450_270deg.JPG
ADDED
|
test/Apple___Cedar_apple_rust/e1140e29-f2c5-43ca-b69c-981f278d0b86___FREC_C.Rust 3569_new30degFlipLR.JPG
ADDED
|
test/Apple___healthy/19b3dc29-de7d-46e8-af14-7451d779f424___RS_HL 7373.JPG
ADDED
|
test/Apple___healthy/23a11b8b-6812-481e-9258-e07cc24fdad4___RS_HL 5898.JPG
ADDED
|
test/Apple___healthy/b202b328-dec4-4b4a-bf6f-50c331f63f89___RS_HL 6311_flipTB.JPG
ADDED
|
test/Blueberry___healthy/0b0e61c1-0f6a-4cfa-8e3d-6034c1d95705___RS_HL 2249_flipTB.JPG
ADDED
|
test/Blueberry___healthy/6000235e-c208-409a-bd26-e39e653337d5___RS_HL 0487.JPG
ADDED
|
test/Blueberry___healthy/767f9252-73cd-469f-9270-54b0a35b8bc9___RS_HL 0481.JPG
ADDED
|
test/Cherry_(including_sour)___Powdery_mildew/66175365-07ce-4b17-af32-5eb54e2266b5___FREC_Pwd.M 4853.JPG
ADDED
|
test/Cherry_(including_sour)___Powdery_mildew/edf764dc-8951-4a95-80f7-4827693db0db___FREC_Pwd.M 0593.JPG
ADDED
|
test/Cherry_(including_sour)___Powdery_mildew/fd7fbe5c-d234-4c16-b587-faed3407e2dd___FREC_Pwd.M 0474.JPG
ADDED
|
test/Cherry_(including_sour)___healthy/318dfc8b-46ee-43cd-9fa5-7bdb8c022e4b___JR_HL 9840.JPG
ADDED
|
test/Cherry_(including_sour)___healthy/91877ab2-d8bb-4743-815a-6e55e833b3b9___JR_HL 4310_180deg.JPG
ADDED
|
test/Cherry_(including_sour)___healthy/b8b81fac-673a-4f90-849e-b1fa9cd255df___JR_HL 4060_flipTB.JPG
ADDED
|
test/Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot/59abb5c6-b107-4e6d-8ae7-25bcadc18b3e___RS_GLSp 4476_270deg.JPG
ADDED
|
test/Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot/792d473d-472a-43df-b0e1-dba9ab94edd5___RS_GLSp 4330.JPG
ADDED
|
test/Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot/cfbb5e1c-2812-4467-9748-ee171462c331___RS_GLSp 4371_90deg.JPG
ADDED
|
test/Corn_(maize)___Common_rust_/RS_Rust 1675_flipLR.JPG
ADDED
|
test/Corn_(maize)___Common_rust_/RS_Rust 1734_flipLR.JPG
ADDED
|
test/Corn_(maize)___Common_rust_/RS_Rust 1886_flipLR.JPG
ADDED
|
test/Corn_(maize)___Northern_Leaf_Blight/09140ec5-e485-4770-9c5d-dabd9727d6d7___RS_NLB 3721.JPG
ADDED
|
test/Corn_(maize)___Northern_Leaf_Blight/2418712a-bebb-45ca-b632-4f0548133221___RS_NLB 3477_180deg.JPG
ADDED
|
test/Corn_(maize)___Northern_Leaf_Blight/739f7cf2-2f79-473b-864f-1a35916dc5a7___RS_NLB 4094_180deg.JPG
ADDED
|
test/Corn_(maize)___healthy/03000565-29dc-4d56-8132-a5d0d36a8359___R.S_HL 0602_flipLR.JPG
ADDED
|
test/Corn_(maize)___healthy/28ca7e31-0f73-4546-b234-98dcaa581d67___R.S_HL 7920 copy.jpg
ADDED
![]() |
test/Corn_(maize)___healthy/d16351b3-76fb-4d80-b2e4-2809bcf06380___R.S_HL 5538 copy_flipLR.jpg
ADDED
![]() |
test/Grape___Black_rot/0679fd57-9695-4627-9825-b0a55cdfa84b___FAM_B.Rot 0451_flipLR.JPG
ADDED
|
test/Grape___Black_rot/40f8f9da-fb45-4cde-b969-3ef1fdf8e713___FAM_B.Rot 3097.JPG
ADDED
|
test/Grape___Black_rot/c7b7d7a8-fb2b-4149-b2c8-83ee2b9a7ead___FAM_B.Rot 0746.JPG
ADDED
|
test/Grape___Esca_(Black_Measles)/40bb979c-d121-44c1-b522-9f5b5b28dddd___FAM_B.Msls 1274_flipLR.JPG
ADDED
|
test/Grape___Esca_(Black_Measles)/ee6d868f-c7a2-400c-aa5e-2e8adeae885a___FAM_B.Msls 4159_flipLR.JPG
ADDED
|
test/Grape___Esca_(Black_Measles)/f6a14f82-c522-43b3-b371-4872f1b569c6___FAM_B.Msls 0907.JPG
ADDED
|
test/Grape___Leaf_blight_(Isariopsis_Leaf_Spot)/54a17d93-22ce-4478-bb69-5d9320b34ad0___FAM_L.Blight 4870.JPG
ADDED
|
test/Grape___Leaf_blight_(Isariopsis_Leaf_Spot)/c9a2c0cb-b461-437f-960d-b9475bfe3a34___FAM_L.Blight 4696.JPG
ADDED
|
test/Grape___Leaf_blight_(Isariopsis_Leaf_Spot)/dcea25a7-6835-42f9-9232-1c07463a85c1___FAM_L.Blight 3762.JPG
ADDED
|
test/Grape___healthy/44906155-2446-487e-8531-6c0d98e751dc___Mt.N.V_HL 8992_270deg.JPG
ADDED
|
test/Grape___healthy/9ceba66a-d7b0-4ed4-98c3-37d361517a90___Mt.N.V_HL 6147_270deg.JPG
ADDED
|
test/Grape___healthy/b07129a6-b8b0-4715-b76f-f89bd40c6770___Mt.N.V_HL 8994_180deg.JPG
ADDED
|
test/Orange___Haunglongbing_(Citrus_greening)/cf3e5a0d-37bd-4d38-bd88-b517afdfadbd___CREC_HLB 7328.JPG
ADDED
|
test/Orange___Haunglongbing_(Citrus_greening)/d78165c6-c098-457e-8d5e-70bf92afdf0d___CREC_HLB 5485.JPG
ADDED
|
test/Orange___Haunglongbing_(Citrus_greening)/ea37a5ae-4d9a-4f67-9303-7da5ed91d5be___CREC_HLB 7297.JPG
ADDED
|
test/Peach___Bacterial_spot/93b24318-47cc-4438-ac43-d790e5f24305___Rut._Bact.S 1399.JPG
ADDED
|