forked from danielgordon10/vince
-
Notifications
You must be signed in to change notification settings - Fork 0
/
train_kinetics_400.sh
38 lines (34 loc) · 981 Bytes
/
train_kinetics_400.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
#!/usr/bin/env bash
ulimit -n 99999
TITLE="end_task_kinetics_400"
BASE_LOG_LOCATION="logs"
LOG_LOCATION=${BASE_LOG_LOCATION}"/"${TITLE}
mkdir -p ${LOG_LOCATION}
cp "$(readlink -f $0)" ${LOG_LOCATION}
python solver_runner.py \
--solver EndTaskKinetics400Solver \
--lr-decay-type step \
--lr-step-schedule 10 20 30 \
--epochs 40 \
--dataset Kinetics400Dataset \
--data-path /home/xkcd/datasets/kinetics400/ \
--pytorch-gpu-ids 0 \
--feature-extractor-gpu-ids 0 \
--base-logdir ${BASE_LOG_LOCATION} \
--backbone ResNet18 \
--batch-size 64 \
--num-frames 10 \
--title ${TITLE} \
--iterations-per-epoch 5000 \
--image-log-frequency 5000 \
--save-frequency 5000 \
--long-save-frequency 25 \
--num-workers 40 \
--log-frequency 10 \
--input-width 224 \
--input-height 224 \
--base-lr 0.01 \
--end-task-classifier-num-classes 400 \
--freeze-feature-extractor \
--description r18-b-256-q-65536-fsize-64-vid-ibc-4-kinetics \
--use-apex