添加精简版 requirements.txt,更新 README 环境要求

This commit is contained in:
yukun-hh 2026-05-17 19:51:50 +08:00
parent 65c9742a1c
commit ed2778972b
3 changed files with 14 additions and 12 deletions

1
.gitignore vendored
View file

@ -5,6 +5,7 @@
!/Merge_classes.py
!/Model.py
!/README.md
!/requirements.txt
!/THIRD_PARTY_LICENSES.md
!/Train.py
!/Baseline.py

View file

@ -75,18 +75,9 @@
## 环境要求
本项目无 `requirements.txt`,需手动安装以下依赖:
- Python 3.8+
- PyTorch推荐 1.10+
- torchvision
- tqdm
- matplotlib
- pandas
- Pillow
- torchsummary
- scikit-learn`Evaluate.py` 需要)
- scikit-image`baseline/HOG_Baseline.py` 需要)
```bash
pip install -r requirements.txt
```
## 快速开始

10
requirements.txt Normal file
View file

@ -0,0 +1,10 @@
torch>=1.10
torchvision>=0.11
tqdm
matplotlib
pandas
Pillow
scikit-learn
scikit-image
numpy
torchsummary