Update README.md and README.zh-CN.md (#11434)

revise readme.md
This commit is contained in:
Hongxiao Xiang authored and GitHub committed 2023-04-25 17:45:42 +02:00
1 parent f3ee596067
commit 8ecc7276ec
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -305,7 +305,7 @@ python segment/val.py --weights yolov5s-seg.pt --data coco.yaml --img 640 # 验
使用预训练的 YOLOv5m-seg.pt 来预测 bus.jpg:
```bash
python segment/predict.py --weights yolov5m-seg.pt --data data/images/bus.jpg
python segment/predict.py --weights yolov5m-seg.pt --source data/images/bus.jpg
```
```python
@@ -395,7 +395,7 @@ python classify/val.py --weights yolov5m-cls.pt --data ../datasets/imagenet --im
使用预训练的 YOLOv5s-cls.pt 来预测 bus.jpg:
```bash
python classify/predict.py --weights yolov5s-cls.pt --data data/images/bus.jpg
python classify/predict.py --weights yolov5s-cls.pt --source data/images/bus.jpg
```
```python