CenterNet/experiments/multi_pose_hg_3x.sh

11 lines
743 B
Bash
Raw Permalink Normal View History

2019-04-17 22:53:59 +08:00
cd src
# train
2019-04-18 06:04:36 +08:00
python main.py multi_pose --exp_id hg_3x --dataset coco_hp --arch hourglass --batch_size 24 --master_batch 4 --lr 2.5e-4 -load_model ../models/ctdet_coco_hg.pth --gpus 0,1,2,3,4 --num_epochs 150 --lr_step 130
2019-04-17 22:53:59 +08:00
# or use the following command if your have dla_1x trained
2019-04-18 06:04:36 +08:00
# python main.py multi_pose --exp_id hg_3x --dataset coco_hp --arch hourglass --batch_size 24 --master_batch 4 --lr 2.5e-4 --gpus 0,1,2,3,4 --num_epochs 150 --lr_step 130 --load_model ../exp/multi_pose/hg_1x/model_40.pth --resume
2019-04-17 22:53:59 +08:00
# test
2019-04-18 06:04:36 +08:00
python test.py multi_pose --exp_id hg_3x --dataset coco_hp --arch hourglass --keep_res --resume
2019-04-17 22:53:59 +08:00
# flip test
2019-04-18 06:04:36 +08:00
python test.py multi_pose --exp_id hg_3x --dataset coco_hp --arch hourglass --keep_res --resume --flip_test
2019-04-17 22:53:59 +08:00
cd ..