File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -102,19 +102,22 @@ Train ResNets-34 on the Kinetics dataset (400 classes) with 4 CPU threads (for d
102102Batch size is 128.
103103Save models at every 5 epochs.
104104```
105- th main.lua --root_path ~/data --video_path kinetics_videos/jpg --annotation_path kinetics.json --result_path results --lr_path LR/Kinetics/lr.lua \
106- --dataset kinetics --model resnet --resnet_depth 34 --n_classes 400 --batch_size 128 --n_gpu 2 --n_threads 4 --checkpoint 5
105+ th main.lua --root_path ~/data --video_path kinetics_videos/jpg --annotation_path kinetics.json \
106+ --result_path results --lr_path LR/Kinetics/lr.lua --dataset kinetics --model resnet \
107+ --resnet_depth 34 --n_classes 400 --batch_size 128 --n_gpu 2 --n_threads 4 --checkpoint 5
107108```
108109
109110Continue Training from epoch 101. (~ /data/results/model_100.t7 is loaded.)
110111```
111- th main.lua --root_path ~/data --video_path kinetics_videos/jpg --annotation_path kinetics.json --result_path results --lr_path LR/Kinetics/lr.lua \
112- --dataset kinetics --begin_epoch 101 --batch_size 128 --n_gpu 2 --n_threads 4 --checkpoint 5
112+ th main.lua --root_path ~/data --video_path kinetics_videos/jpg --annotation_path kinetics.json \
113+ --result_path results --lr_path LR/Kinetics/lr.lua --dataset kinetics --begin_epoch 101 \
114+ --batch_size 128 --n_gpu 2 --n_threads 4 --checkpoint 5
113115```
114116
115117Perform recognition for each video of validation set using pretrained model.
116118This operation outputs top-10 labels for each video.
117119```
118- th main.lua --root_path ~/data --video_path kinetics_videos/jpg --annotation_path kinetics.json --result_path results --premodel_path models/resnet.t7 \
119- --dataset kinetics --no_train --no_val --test_video --test_subset val --n_gpu 2 --n_threads 4
120+ th main.lua --root_path ~/data --video_path kinetics_videos/jpg --annotation_path kinetics.json \
121+ --result_path results --premodel_path models/resnet.t7 --dataset kinetics \
122+ --no_train --no_val --test_video --test_subset val --n_gpu 2 --n_threads 4
120123```
You can’t perform that action at this time.
0 commit comments