Skip to content

Commit

Permalink
update training command
Browse files Browse the repository at this point in the history
  • Loading branch information
CoinCheung committed Aug 4, 2022
1 parent 184dc5a commit 98317ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dist_train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
cfg_file=configs/bisenetv2_coco.py
NGPUS=8
torchrun --nproc_per_node=$NGPUS tools/train_amp.py --config $cfg_file


## bisenetv1 ade20k
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
cfg_file=configs/bisenetv1_ade20k.py
NGPUS=8
torchrun --nproc_per_node=$NGPUS tools/train_amp.py --config $cfg_file


## bisenetv2 ade20k
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
cfg_file=configs/bisenetv2_ade20k.py
NGPUS=8
torchrun --nproc_per_node=$NGPUS tools/train_amp.py --config $cfg_file

0 comments on commit 98317ee

Please sign in to comment.