one gpu:
CUDA_VISIBLE_DEVICES="2" python train.py --config-file configs/vgg_bn_ssd300_hand.yaml
tow gpu:
export NGPUS=2
CUDA_VISIBLE_DEVICES="2,3" python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/vgg_bn_ssd300_hand.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
CUDA_VISIBLE_DEVICES="2" python test.py --config-file configs/vgg_bn_ssd300_hand.yaml TEST.BN_FUSE True
mAP:77.64
CUDA_VISIBLE_DEVICES="2" python demo.py --config-file configs/vgg_bn_ssd300_hand.yaml --ckpt /path_to/model_002500.pth --dataset_type oxfordhand --score_threshold 0.4
export NGPUS=2
CUDA_VISIBLE_DEVICES="2,3" python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/mobile_v2_ssd_voc0712.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
mAP:model_final-->70.66
CUDA_VISIBLE_DEVICES="2" python test.py --config-file configs/mobile_v2_ssd_voc0712.yaml TEST.BN_FUSE True
one gpu:
CUDA_VISIBLE_DEVICES="3" python train.py --config-file configs/mobile_v2_ssd_hand_normal_sparse.yaml
two:
export NGPUS=2
CUDA_VISIBLE_DEVICES="2,3" python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/mobile_v2_ssd_hand_normal_sparse.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
CUDA_VISIBLE_DEVICES="3" python prune.py --config-file configs/mobile_v2_ssd_hand_normal_sparse.yaml --regular 0 --percent 0.1 --quick 0 --model model_final.pth
one gpu:
CUDA_VISIBLE_DEVICES="2" python train.py --config-file configs/mobile_v2_ssd_hand_shortcut_sparse.yaml
two:
export NGPUS=2
CUDA_VISIBLE_DEVICES="2,3" python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/mobile_v2_ssd_hand_shortcut_sparse.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
CUDA_VISIBLE_DEVICES="3" python prune.py --config-file configs/mobile_v2_ssd_hand_shortcut_sparse.yaml --percent 0.2 --quick 0 --model model_final.pth
one_gpu:
CUDA_VISIBLE_DEVICES="2" python train.py --config-file configs/vgg_bn_ssd300_voc0712.yaml
two_gpu:
export NGPUS=2
CUDA_VISIBLE_DEVICES="2,3" python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/vgg_bn_ssd300_voc0712.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
four_gpu:
export NGPUS=4
python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/vgg_bn_ssd300_voc0712.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
CUDA_VISIBLE_DEVICES="2" python test.py --config-file configs/vgg_bn_ssd300_voc0712.yaml
mAP:79.01
one_gpu:
CUDA_VISIBLE_DEVICES="2" python train.py --config-file configs/vgg_ssd300_voc0712_fpga.yaml
two_gpu:
export NGPUS=2
CUDA_VISIBLE_DEVICES="2,3" python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --eval_step -1 --config-file configs/vgg_ssd300_voc0712_fpga.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
four_gpu:
export NGPUS=4
python -m torch.distributed.launch --nproc_per_node=$NGPUS train.py --config-file configs/vgg_ssd300_voc0712_fpga.yaml SOLVER.WARMUP_FACTOR 0.03333 SOLVER.WARMUP_ITERS 1000
CUDA_VISIBLE_DEVICES="2" python test.py --config-file configs/vgg_ssd300_voc0712_fpga.yaml
mAP:77.99