添加精简版 requirements.txt,更新 README 环境要求
This commit is contained in:
parent
65c9742a1c
commit
ed2778972b
3 changed files with 14 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,6 +5,7 @@
|
|||
!/Merge_classes.py
|
||||
!/Model.py
|
||||
!/README.md
|
||||
!/requirements.txt
|
||||
!/THIRD_PARTY_LICENSES.md
|
||||
!/Train.py
|
||||
!/Baseline.py
|
||||
|
|
|
|||
15
README.md
15
README.md
|
|
@ -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
10
requirements.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
torch>=1.10
|
||||
torchvision>=0.11
|
||||
tqdm
|
||||
matplotlib
|
||||
pandas
|
||||
Pillow
|
||||
scikit-learn
|
||||
scikit-image
|
||||
numpy
|
||||
torchsummary
|
||||
Loading…
Reference in a new issue