Skip to content

Commit

Permalink
update DeepLabV3 script
Browse files Browse the repository at this point in the history
  • Loading branch information
qjadud1994 committed Jul 3, 2021
1 parent 3c2cc85 commit d3e8a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeepLabV3Plus-Pytorch/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ LR=0.05


# training with 2 GPUs
CUDA_VISLBLE_DEVICES=0,1 python main.py --data_root ${ROOT} --model ${MODEL} --gpu_id 0,1 --amp --total_itrs ${ITER} --batch_size ${BATCH} --lr ${LR}
CUDA_VISLBLE_DEVICES=0,1 python main.py --data_root ${ROOT} --model ${MODEL} --gpu_id 0,1 --amp --total_itrs ${ITER} --batch_size ${BATCH} --lr ${LR} --crop_val


# evalutation with crf
CUDA_VISIBLE_DEVICES=0,1 python eval.py --gpu_id 0,1 --data_root ${ROOT} --model ${MODEL} --val_batch_size 16 --ckpt checkpoints/best_${MODEL}_voc_os16.pth
CUDA_VISIBLE_DEVICES=0,1 python eval.py --gpu_id 0,1 --data_root ${ROOT} --model ${MODEL} --val_batch_size 16 --ckpt checkpoints/best_${MODEL}_voc_os16.pth --crop_val

0 comments on commit d3e8a7b

Please sign in to comment.