-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·27 lines (23 loc) · 1010 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
27
#!/bin/bash
# train and evaluate per-frame baseline
MODEL=Base-VSPW-swin_base
python train_net_vss.py --num-gpus=8 \
--config-file=configs/vspw/semantic-segmentation/"$MODEL".yaml \
OUTPUT_DIR ./experiments/mask2former/vspw/"$MODEL" \
SOLVER.IMS_PER_BATCH 16
python train_net_vss.py --num-gpus=8 \
--eval-only \
--config-file=configs/vspw/semantic-segmentation/"$MODEL".yaml \
OUTPUT_DIR ./experiments/mask2former/vspw/"$MODEL" \
MODEL.WEIGHTS /path/to/your/trained/model
# train and evaluate mpvss
MODEL=MPVSS-VSPW-swin_base
python train_net_vss.py --num-gpus=8 \
--config-file=configs/vspw/video-semantic-segmentation/"$MODEL".yaml \
OUTPUT_DIR ./experiments/mpvss/vspw/"$MODEL" \
SOLVER.IMS_PER_BATCH 16
python train_net_vss.py --num-gpus=8 \
--eval-only \
--config-file=configs/vspw/video-semantic-segmentation/"$MODEL".yaml \
MODEL.WEIGHTS /path/to/your/trained/model \
OUTPUT_DIR ./experiments/mpvss/vspw/"$MODEL"