Files
ai-titration/Picture_Train/README.md
flt6 2c2822ff11 src
Former-commit-id: 43bc977a970a5bba09d0afa6f2a85169fe1ed253
2025-05-15 23:49:13 +08:00

10 lines
717 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 该文件夹存放使用pytorch实现的代码版本
**model.py** 是模型文件
**train.py** 是调用模型训练的文件
**predict.py** 是调用模型进行预测的文件
**class_indices.json** 是训练数据集对应的标签文件
**data** 文件夹里分为了train和val两部分分别用来训练和验证只要将完成分类的照片分别放在“orange”或“yellow”子文件夹中即可
注意:现在文件夹中只有少量的示例图片,如果直接拿来训练结果不会很理想,毕竟,我也不好把所有工作都做完了,这样怎么体现你们的工作呢?对吧
训练完别忘了把生成的权重文件复制到控制程序中使用