-
Notifications
You must be signed in to change notification settings - Fork 16
/
run.sh
executable file
·29 lines (29 loc) · 803 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
28
29
NUM_SHARDS=4
NUM_GPUS=8
BATCH_SIZE=128
BASE_LR=8e-4
PYTHONPATH=$PYTHONPATH:./slowfast \
python tools/run_net_multi_node.py \
--init_method tcp://localhost:10125 \
--cfg $work_path/config.yaml \
--num_shards $NUM_SHARDS \
DATA.PATH_TO_DATA_DIR ./data_list/k710 \
DATA.PATH_PREFIX you_data_path \
DATA.PATH_LABEL_SEPARATOR "," \
TRAIN.EVAL_PERIOD 1 \
TRAIN.CHECKPOINT_PERIOD 100 \
TRAIN.BATCH_SIZE $BATCH_SIZE \
TRAIN.SAVE_LATEST False \
NUM_GPUS $NUM_GPUS \
NUM_SHARDS $NUM_SHARDS \
SOLVER.MAX_EPOCH 50 \
SOLVER.BASE_LR $BASE_LR \
SOLVER.BASE_LR_SCALE_NUM_SHARDS False \
SOLVER.WARMUP_EPOCHS 0. \
TEST.NUM_ENSEMBLE_VIEWS 3 \
TEST.NUM_SPATIAL_CROPS 1 \
TEST.TEST_BEST True \
TEST.ADD_SOFTMAX True \
TEST.BATCH_SIZE 128 \
RNG_SEED 6666 \
OUTPUT_DIR $work_path