-
Notifications
You must be signed in to change notification settings - Fork 95
/
r50_motr_train_dance.sh
39 lines (36 loc) · 1.31 KB
/
r50_motr_train_dance.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ------------------------------------------------------------------------
# Copyright (c) 2021 megvii-model. All Rights Reserved.
# ------------------------------------------------------------------------
# Modified from Deformable DETR (https://github.com/fundamentalvision/Deformable-DETR)
# Copyright (c) 2020 SenseTime. All Rights Reserved.
# ------------------------------------------------------------------------
# for MOT17
PRETRAIN=r50_deformable_detr_plus_iterative_bbox_refinement-checkpoint.pth
EXP_DIR=exps/e2e_motr_r50_dance
python3 -m torch.distributed.launch --nproc_per_node=8 \
--use_env main.py \
--meta_arch motr \
--use_checkpoint \
--dataset_file e2e_dance \
--epoch 20 \
--with_box_refine \
--lr_drop 10 \
--lr 2e-4 \
--lr_backbone 2e-5 \
--pretrained ${PRETRAIN} \
--output_dir ${EXP_DIR} \
--batch_size 1 \
--sample_mode 'random_interval' \
--sample_interval 10 \
--sampler_steps 5 9 15 \
--sampler_lengths 2 3 4 5 \
--update_query_pos \
--merger_dropout 0 \
--dropout 0 \
--random_drop 0.1 \
--fp_ratio 0.3 \
--query_interaction_layer 'QIM' \
--extra_track_attn \
--data_txt_path_train ./datasets/data_path/joint.train \
--data_txt_path_val ./datasets/data_path/mot17.train \
|& tee ${EXP_DIR}/output.log