forked from ahmetgunduz/Real-time-GesRec
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_online_egogesture.sh
executable file
·44 lines (43 loc) · 1.15 KB
/
run_online_egogesture.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
39
40
41
42
43
44
#!/bin/bash
# "$1" classıfıer resume path
# "$2" model_clf
# "$3" width_mult
# "$4" classıfıer modalıty
python online_test.py \
--root_path ~/\
--video_path datasets/EgoGesture \
--annotation_path Efficient-3DCNNs-Ahmet/annotation_EgoGesture/egogestureall.json \
--resume_path_det Efficient-3DCNNs-Ahmet/results/shared/egogesture_resnetl_10_Depth_8.pth \
--resume_path_clf "$1" \
--result_path Efficient-3DCNNs-Ahmet/results \
--dataset egogesture \
--sample_duration_det 8 \
--sample_duration_clf 32 \
--model_det resnetl \
--model_clf "$2" \
--model_depth_det 10 \
--width_mult_det 0.5 \
--model_depth_clf 101 \
--width_mult_clf "$3" \
--resnet_shortcut_det A \
--resnet_shortcut_clf B \
--batch_size 1 \
--n_classes_det 2 \
--n_finetune_classes_det 2 \
--n_classes_clf 83 \
--n_finetune_classes_clf 83 \
--n_threads 16 \
--checkpoint 1 \
--modality_det Depth \
--modality_clf "$4" \
--n_val_samples 1 \
--train_crop random \
--test_subset test \
--det_strategy median \
--det_queue_size 4 \
--det_counter 2 \
--clf_strategy median \
--clf_queue_size 32 \
--clf_threshold_pre 1.0 \
--clf_threshold_final 0.15 \
--stride_len 1 \