-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_ms.sh
35 lines (30 loc) · 870 Bytes
/
run_ms.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
#!/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-2
#for s in {4..5}; do
# exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 1 -s $s
# echo Done
#done
##
#task=15-1
#for s in {4..5}; do
## exp -t ${task} -n ILOD -s $s --cls 1.
# exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 1 -s $s
# echo Done
#done
#
#task=10-5
#for s in 1 2; do
# exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 0.5 -s $s
# echo Done
#done
task=10-1
for s in {1..10}; do
exp -t ${task} -n MMA --rpn --uce --dist_type uce --cls 1 -s $s
done