-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun.sh
27 lines (19 loc) · 783 Bytes
/
run.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
#!/bin/bash
port=$(python get_free_port.py)
GPU=2
alias exp="python -m torch.distributed.launch --master_port=${port} --nproc_per_node=${GPU} tools/train_incremental.py"
shopt -s expand_aliases
# FIRST STEP
# python -m torch.distributed.launch --nproc_per_node=${GPU} tools/train_first_step.py -c configs/OD_cfg/e2e_faster_rcnn_R_50_C4_4x.yaml
# INCREMENTAL STEPS
task=10-10
#exp -t ${task} -n ILOD
#exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 0.1
task=15-5
#exp -t ${task} -n ILOD
#exp -t ${task} -n FILOD --feat std --rpn --cls 1.
#exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 0.5
task=19-1
#exp -t ${task} -n ILOD
#exp -t ${task} -n FILOD_noFEAT_UCE_UKD --rpn --uce --dist_type uce --cls 1
#exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 1