Browse Source

grad accu

yjh0410 2 years ago
parent
commit
978b711b48
1 changed files with 2 additions and 2 deletions
  1. 2 2
      train_single_gpu.sh

+ 2 - 2
train_single_gpu.sh

@@ -4,13 +4,13 @@ python train.py \
         -d coco \
         -d coco \
         --root /mnt/share/ssd2/dataset/ \
         --root /mnt/share/ssd2/dataset/ \
         -m yolox_l \
         -m yolox_l \
-        -bs 16 \
+        -bs 8 \
         -size 640 \
         -size 640 \
         --wp_epoch 3 \
         --wp_epoch 3 \
         --max_epoch 300 \
         --max_epoch 300 \
         --eval_epoch 10 \
         --eval_epoch 10 \
         --no_aug_epoch 20 \
         --no_aug_epoch 20 \
-        --grad_accumulate 4 \
+        --grad_accumulate 8 \
         --ema \
         --ema \
         --fp16 \
         --fp16 \
         --multi_scale \
         --multi_scale \