forked from yjh0410/FreeYOLO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain_ddp.sh
16 lines (16 loc) · 995 Bytes
/
train_ddp.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 2 GPUs
# Attention, the following batch size is on single GPU, not all GPUs.
python -m torch.distributed.run --nproc_per_node=4 train.py \
--cuda \
-dist \
-d coco \
--root /data/datasets/ \
-v yolo_free_large \
-bs 16 \
-accu 1 \
--max_epoch 300 \
--wp_epoch 1 \
--eval_epoch 10 \
--num_workers 4 \
--ema \
--fp16 \