-
Notifications
You must be signed in to change notification settings - Fork 158
/
infer_huge.sh
57 lines (45 loc) · 1.64 KB
/
infer_huge.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env bash
EXP_NAME="video_joint_vit_huge"
# OD, IS, REC, RES
python3 launch.py --nn 1 --eval-only \
--uni 1 --config-file projects/UNINEXT/configs/image_joint_vit_huge_32g.yaml \
--resume OUTPUT_DIR outputs/${EXP_NAME}
# VIS
python3 launch.py --nn 1 --eval-only \
--uni 1 --config-file projects/UNINEXT/configs/video_joint_vit_huge.yaml \
--resume OUTPUT_DIR outputs/${EXP_NAME} \
MODEL.USE_IOU_BRANCH False
cd outputs/${EXP_NAME}/inference
zip VIS19.zip results.json
cd ../../..
# OVIS
python3 launch.py --nn 1 --eval-only \
--uni 1 --config-file projects/UNINEXT/configs/eval-vid/video_joint_vit_huge_eval_ovis.yaml \
--resume OUTPUT_DIR outputs/${EXP_NAME} \
MODEL.USE_IOU_BRANCH False
cd outputs/${EXP_NAME}/inference
zip OVIS.zip results.json
cd ../../..
# R-VOS
python3 launch.py --nn 1 --eval-only \
--uni 1 --config-file projects/UNINEXT/configs/eval-vid/video_joint_vit_huge_eval_rvos.yaml \
--resume OUTPUT_DIR outputs/${EXP_NAME}
cd outputs/${EXP_NAME}
zip -r RVOS.zip Annotations
cd ../..
# VOS
python3 launch.py --nn 1 --eval-only \
--uni 1 --config-file projects/UNINEXT/configs/eval-vid/video_joint_vit_huge_eval_vos.yaml \
--resume OUTPUT_DIR outputs/${EXP_NAME} \
SOT.INFERENCE_ON_3F True
cd outputs/${EXP_NAME}/inference
mv ytbvos18 Annotations
zip -r VOS.zip Annotations
cd ../../..
# SOT
python3 launch.py --nn 1 --eval-only \
--uni 1 --config-file projects/UNINEXT/configs/eval-vid/video_joint_vit_huge_eval_sot.yaml \
--resume OUTPUT_DIR outputs/${EXP_NAME} \
DATALOADER.NUM_WORKERS 0 SOT.ONLINE_UPDATE True
# MOT
python3 tools_bin/grid_search_bdd.py --config_name eval-vid/video_joint_vit_huge_eval_mot.yaml --exp_dir_name ${EXP_NAME}