添加精简版 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
|
!/Merge_classes.py
|
||||||
!/Model.py
|
!/Model.py
|
||||||
!/README.md
|
!/README.md
|
||||||
|
!/requirements.txt
|
||||||
!/THIRD_PARTY_LICENSES.md
|
!/THIRD_PARTY_LICENSES.md
|
||||||
!/Train.py
|
!/Train.py
|
||||||
!/Baseline.py
|
!/Baseline.py
|
||||||
|
|
|
||||||
15
README.md
15
README.md
|
|
@ -75,18 +75,9 @@
|
||||||
|
|
||||||
## 环境要求
|
## 环境要求
|
||||||
|
|
||||||
本项目无 `requirements.txt`,需手动安装以下依赖:
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
- Python 3.8+
|
```
|
||||||
- PyTorch(推荐 1.10+)
|
|
||||||
- torchvision
|
|
||||||
- tqdm
|
|
||||||
- matplotlib
|
|
||||||
- pandas
|
|
||||||
- Pillow
|
|
||||||
- torchsummary
|
|
||||||
- scikit-learn(仅 `Evaluate.py` 需要)
|
|
||||||
- scikit-image(仅 `baseline/HOG_Baseline.py` 需要)
|
|
||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
|
|
|
||||||
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