forked from VadymV/events_feature_extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings_hazard.yaml
More file actions
97 lines (88 loc) · 4.52 KB
/
Copy pathsettings_hazard.yaml
File metadata and controls
97 lines (88 loc) · 4.52 KB
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
94
95
96
97
# 2021 Vadym Gryshchuk (vadym.gryshchuk@protonmail.com).
# SSL training (example):
# 'run_feature_extractor.py'
dataset:
name: 'eventSym' # ['ncaltech12', 'ncaltech256', 'ncaltech101', 'nmnist']
path: './data/eventSym/' # The path to the dataset. Only for 'eventSym' dataset
event_representation: 'histogram' # ['histogram', 'voxel']
nr_events_window: 100000 # The number of events in a window. 0 means that all events will be selected. Only for SCNN and histogram
method:
name: 'simclr' # ['simclr', 'classifier']. 'simclr' - self-supervised learning; 'classifier' - linear evaluation or supervised learning with Phased LSTM
backbone: 'scnn' # ['scnn', 'plstm'] 'plstm' (Phased LSTM) can be used only with 'classifier'
seed: 10
checkpoint_save_period: 10
epochs: 300
batch_size: 32 # the number of samples per iteration
checkpoint:
epoch_start: 0
file: "./checkpoint/simclr/eventSym/hazard_v2/simclr_hazard_v2_eventSym_scnn_seed_10_batch_32_epoch_300.tar"
id: 'hazard_v2' # An additional identifier that is appended to the name of a checkpoint file
hardware:
num_workers: 16 # The number used to load data
gpu_device: 0 # [0, '0, 1, 2, ...'] # '0,1,2, ...' in case of multiple GPUs (only for the SCNN backbone)
feature_extraction:
out_folder: './data/eventSym/extracted_features/'
# dataset:
# name: 'ncaltech12' # ['ncaltech12', 'ncaltech256', 'ncaltech101', 'nmnist']
# event_representation: 'histogram' # ['histogram', 'voxel']
# nr_events_window: 50000 # The number of events in a window. 0 means that all events will be selected. Only for SCNN and histogram
# method:
# name: 'simclr' # ['simclr', 'classifier']. 'simclr' - self-supervised learning; 'classifier' - linear evaluation or supervised learning with Phased LSTM
# backbone: 'scnn' # ['scnn', 'plstm'] 'plstm' (Phased LSTM) can be used only with 'classifier'
# seed: 10
# checkpoint_save_period: 10
# epochs: 100
# batch_size: 256 # the number of samples per iteration
# checkpoint:
# epoch_start: 0
# file: ''
# id: '' # An additional identifier that is appended to the name of a checkpoint file
# hardware:
# num_workers: 0 # The number used to load data
# gpu_device: 0 # [0, '0, 1, 2, ...'] # '0,1,2, ...' in case of multiple GPUs (only for the SCNN backbone)
# feature_extraction:
# out_folder: './data/extracted_features/'
# SSL linear evaluation (example):
# 'run_linear_evaluation.py'
#dataset:
# name: 'ncaltech12' # ['ncaltech12', 'ncaltech256', 'ncaltech101', 'nmnist']
# event_representation: 'histogram' # ['histogram', 'voxel']
# nr_events_window: 50000 # The number of events in a window. 0 means that all events will be selected. Only for SCNN and histogram
#method:
# name: 'classifier' # ['simclr', 'classifier']
# backbone: 'scnn' # ['scnn', 'plstm'] 'plstm' can be used only with 'classifier'
# seed: 10
# checkpoint_save_period: 10
# epochs: 100
# batch_size: 32 # the number of samples per iteration
#checkpoint:
# epoch_start: 0
# file: './checkpoint/simclr/ncaltech12/simclr__ncaltech12_scnn_seed_10_batch_256_epoch_100.tar'
# id: '' # An additional identifier that is appended to the name of a checkpoint file
#hardware:
# num_workers: 0 # The number used to load data
# gpu_device: 0 # [0, '0, 1, 2, ...'] # '0,1,2, ...' in case of multiple GPUs (only for the SCNN backbone)
#feature_extraction:
# out_folder: './data/extracted_features/'
# Feature extraction (example):
# 'extract_features.py'
#dataset:
# name: 'ncaltech12' # ['ncaltech12', 'ncaltech256', 'ncaltech101', 'nmnist']
# event_representation: 'histogram' # ['histogram', 'voxel']
# nr_events_window: 50000 # The number of events in a window. 0 means that all events will be selected. Only for SCNN and histogram
#method:
# name: 'simclr' # ['simclr', 'classifier']. 'simclr' - self-supervised learning; 'classifier' - linear evaluation or supervised learning with Phased LSTM
# backbone: 'scnn' # ['scnn', 'plstm'] 'plstm' (Phased LSTM) can be used only with 'classifier'
# seed: 10
# checkpoint_save_period: 10
# epochs: 100
# batch_size: 100 # the number of samples per iteration
#checkpoint:
# epoch_start: 0
# file: './checkpoint/simclr/ncaltech12/simclr__ncaltech12_scnn_seed_10_batch_256_epoch_100.tar'
# id: '' # An additional identifier that is appended to the name of a checkpoint file
#hardware:
# num_workers: 0 # The number used to load data
# gpu_device: 0 # [0, '0, 1, 2, ...'] # '0,1,2, ...' in case of multiple GPUs (only for the SCNN backbone)
#feature_extraction:
# out_folder: './data/extracted_features/'