-
Notifications
You must be signed in to change notification settings - Fork 16
/
run.sh
executable file
·28 lines (28 loc) · 773 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
NUM_SHARDS=4
NUM_GPUS=8
BATCH_SIZE=16
BASE_LR=5e-6
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/hacs \
DATA.PATH_PREFIX you_data_path/hacs \
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 20 \
SOLVER.BASE_LR $BASE_LR \
SOLVER.BASE_LR_SCALE_NUM_SHARDS False \
SOLVER.WARMUP_EPOCHS 5. \
TEST.NUM_ENSEMBLE_VIEWS 10 \
TEST.NUM_SPATIAL_CROPS 3 \
TEST.TEST_BEST True \
TEST.ADD_SOFTMAX True \
TEST.BATCH_SIZE 32 \
RNG_SEED 6666 \
OUTPUT_DIR $work_path