-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
69 lines (52 loc) · 1.97 KB
/
Makefile
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
build_docker:
docker build -t general-gpu .
run_docker:
docker run --name work_env --runtime=nvidia --rm -ti -p 9000:9000 -v $(CURDIR):/mnt general-gpu
start_notebook:
jupyter notebook --allow-root --no-browser --ip 0.0.0.0 --port 9000
create_mhi:
python3 src/create_mhi.py --input_dir data/source --output_dir data/processed/MHI
extract_shallow:
python3 src/extract_shallow_features.py \
--input_dir data/processed/MHI \
--output_file data/processed/shallow_features.h5
extract_deep:
python3 src/extract_resnet_features.py \
--input_dir data/source \
--output_file data/processed/resnet_features.h5
extract_autoencoder_features:
python3 src/extract_autoencoder_features.py \
--autoencoder data/external/model_autoencoder.h5 \
--input_file data/processed/resnet_features.h5 \
--output_file data/processed/autoencoder_features.h5
calculate_optical_flow:
python3 src/calculate_optical_flow.py \
--input_dir data/source \
--output_file data/processed/optical_flow_features.h5
train_svc_autoencoder:
python3 src/train_svc_scikit.py \
--input_file data/processed/autoencoder_features.h5 \
--features_ds_name autoencoder_features
train_svc_hog:
python3 src/train_svc_scikit.py \
--input_file data/processed/shallow_features.h5 \
--features_ds_name hog
train_svc_zernike:
python3 src/train_svc_scikit.py \
--input_file data/processed/shallow_features.h5 \
--features_ds_name zernike
train_basic_lstm:
python3 src/train_lstm_keras.py \
--input_file data/processed/resnet_features.h5
train_basic_lstm_disarranged:
python3 src/train_lstm_keras.py \
--input_file data/processed/resnet_features.h5 \
--disarrange
train_conv_optical_flow:
python3 src/train_conv.py \
--input_file data/processed/optical_flow_features.h5 \
--ds_name optical_flow
test_zisserman_approach:
python3 src/zisserman_approach.py \
--resnet_features_file data/processed/resnet_features.h5 \
--optical_flow_features_file data/processed/optical_flow_features.h5