Skip to content

Commit

Permalink
Update GetStart.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hukaixuan19970627 authored Jan 16, 2022
1 parent a706f52 commit 1f4a99a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/GetStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cd yolov5_obb


**2. Train**

2.1 Train with specified GPUs. (for example with GPU=3)

```shell
Expand All @@ -42,12 +43,12 @@ python -m torch.distributed.launch --nproc_per_node 4 train.py --device 0,1,2,3

2.3 Train the orignal dataset demo.
```shell
python train.py --data 'data/yolov5obb_demo.yaml'
python train.py --data 'data/yolov5obb_demo.yaml' --epochs 10 --batch-size 1 --img 1024 --device 0
```

2.4 Train the splited dataset demo.
```shell
python train.py --data 'data/yolov5obb_demo_split.yaml'
python train.py --data 'data/yolov5obb_demo_split.yaml' --epochs 10 --batch-size 2 --img 1024 --device 0
```

# Inferenece with pretrained models. (Splited Dataset)
Expand Down

0 comments on commit 1f4a99a

Please sign in to comment.