Skip to content

Commit

Permalink
Update README.md and README.zh-CN.md (#11434)
Browse files Browse the repository at this point in the history
revise readme.md
  • Loading branch information
xhx787 committed Apr 25, 2023
1 parent f3ee596 commit 8ecc727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ python segment/val.py --weights yolov5s-seg.pt --data coco.yaml --img 640 # val
Use pretrained YOLOv5m-seg.pt to predict 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
Expand Down Expand Up @@ -400,7 +400,7 @@ python classify/val.py --weights yolov5m-cls.pt --data ../datasets/imagenet --im
Use pretrained YOLOv5s-cls.pt to predict 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
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8ecc727

Please sign in to comment.