-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathowen.yaml
93 lines (89 loc) · 2.28 KB
/
owen.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# --------------------------------------
# HMM Activity Recognition - Config File
# --------------------------------------
# Modes
# --------------------------------------
extract_features:
# video_path: /Users/owenjow/hmm_activity_recognition/data/kth/train/walking/person01_walking_d4_uncomp.avi
base_dir: /Users/owenjow/hmm_activity_recognition/data/kth/train
save_path: /Users/owenjow/hmm_activity_recognition/features
debug: False
verbose: False
fg_handler: 0
st:
maxCorners: 200
qualityLevel: 0.05
minDistance: 3
blockSize: 10
lk:
winSize: (15, 15)
maxLevel: 2
feature_toggles:
optical_flow: False
freq_optical_flow: False
dense_optical_flow: False
freq_dense_optical_flow: True
divergence: True
curl: True
avg_velocity: True
edge: True
centroid: True
denoise:
kernel_size: 5
threshold: 3
dense_params:
roi_h: 0.8
roi_w: 0.4
pyr_scale: 0.5
levels: 3
winsize: 15
iterations: 3
poly_n: 5
poly_sigma: 1.2
n_components: 10 # for dimensionality reduction
top_k: None
mres_wind: None # side length of maximum response window
div_params:
n_bins: None
pca_dim: 8
curl_params:
n_bins: None
pca_dim: 8
n_bins: 20
edge_dim: 20
trim: 1
normalize: True
sequences_path: /Users/owenjow/hmm_activity_recognition/data/kth/sequences.txt
stats_path: /Users/owenjow/hmm_activity_recognition/data/kth/norm_stats.pkl
build_models:
h5_dir: /Users/owenjow/hmm_activity_recognition/features
model_dir: /Users/owenjow/hmm_activity_recognition/models
n_features: infer # only need to use this if `optical_flow` is one of the features
compute_stats: False
mconf: # configs for each model
- n_components: 4
n_iter: 20
m_type: gmm
subsample: 0.5
- n_components: 4
n_iter: 20
m_type: gmm
subsample: 0.6
- n_components: 4
n_iter: 20
m_type: gmm
subsample: 0.7
- n_components: 4
n_iter: 20
m_type: gmm
subsample: 0.8
- n_components: 4
n_iter: 20
m_type: gmm
subsample: 0.9
classify_activity:
all: True
path: /Users/owenjow/hmm_activity_recognition/data/kth/test
model_dir: /Users/owenjow/hmm_activity_recognition/models
eval_fraction: 1.0
n_features: infer