添加精简版 requirements.txt,更新 README 环境要求
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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` 需要)
|
|
||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
torch>=1.10
|
||||||
|
torchvision>=0.11
|
||||||
|
tqdm
|
||||||
|
matplotlib
|
||||||
|
pandas
|
||||||
|
Pillow
|
||||||
|
scikit-learn
|
||||||
|
scikit-image
|
||||||
|
numpy
|
||||||
|
torchsummary
|
||||||
Reference in New Issue
Block a user