
配置
python==2.7
tensorflow==1.2.1
使用方法
更改 plot.py 脚本中路径,运行该脚本,可以绘出数据分布的直方图
下载预训练模型 Inception-V3
更改 plant_disease.py 中的输入文件路径,输出文件路径,预训练模型文件路径
在 code 路径下直接运行 python plant_disease.py
训练完成后会直接使用训练得到的参数预测 testA 数据集,生成可以用来直接提交的 json
文件
大佬分享
spytensor/plants_disease_detection
框架:pytorch
最终成绩:0.875
bochuanwu/Agricultural-Disease-Classification
框架:keras
最终成绩:0.88658
其他
Label ID Label Name
0 apple healthy(苹果健康)
1 Apple_Scab general(苹果黑星病一般)
2 Apple_Scab serious(苹果黑星病严重)
3 Apple Frogeye Spot(苹果灰斑病)
4 Cedar Apple Rust general(苹果雪松锈病一般)
5 Cedar Apple Rust serious(苹果雪松锈病严重)
6 Cherry healthy(樱桃健康)
7 Cherry_Powdery Mildew general(樱桃白粉病一般)
8 Cherry_Powdery Mildew serious(樱桃白粉病严重)
9 Corn healthy(玉米健康)
10 Cercospora zeaemaydis Tehon and Daniels general(玉米灰斑病一般)
11 Cercospora zeaemaydis Tehon and Daniels serious(玉米灰斑病严重)
12 Puccinia polysora general(玉米锈病一般)
13 Puccinia polysora serious(玉米锈病严重)
14 Corn Curvularia leaf spot fungus general(玉米叶斑病一般)
15 Corn Curvularia leaf spot fungus serious(玉米叶斑病严重)
16 Maize dwarf mosaic virus(玉米花叶病毒病)
17 Grape heathy(葡萄健康)
18 Grape Black Rot Fungus general(葡萄黑腐病一般)
19 Grape Black Rot Fungus serious(葡萄黑腐病严重)
20 Grape Black Measles Fungus general(葡萄轮斑病一般)