This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.cfg
135 lines (121 loc) · 2.32 KB
/
config.cfg
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[AUTHOR]
username = NavinKumarMNK
emailid = [email protected]
project = crime_activity_detection
[DISTRIBUTED_ENV]
distributed_train = 1
mount_point = /mnt/nfs_share/nfs_share/
deep_speed = 1
data_parallel = 0
model_parallel = 0
horovod = 0
num_workers = 2
num_cpus_per_worker = 16
use_gpu = True
[SVR_DECODER]
input_size = 1024
kernel=rbf
c=1.0
gamma=scale
[APP]
LRCN_DECODER = True
CNN_ENCODER = True
SVM_DECODER = True
ANOMALY_THRESHOLD = 0.75
FACE_DETECTOR = True
FACE_RECOGNIZER = True
[GENERAL]
weights_path = /weights/
data_path = /data/
temp = /temp/
no_of_classes = 14
[DECODER]
num_classes = 14
num_layers = 4
hidden_size = 1024
encoder_output_size = 1024
[ENCODER_DECODER_TRAIN]
max_epochs = 1000
min_epochs = 500
#accelerator = gpu
benchmark = True
weights_summary = full
precision = 16
auto_lr_find = True
auto_scale_batch_size = True
auto_select_gpus = True
check_val_every_n_epoch = 1
fast_dev_run = False
enable_progress_bar = True
accumulate_grad_batches=4
gradient_clip_val=2
gradient_clip_algorithm=norm
sync_batchnorm = True
detect_anomaly=False
#limit_val_batches=1
#limit_train_batches=2
[AUTOENCODER_TRAIN]
max_epochs = 500
min_epochs = 100
#accelerator = gpu
benchmark = True
weights_summary = top
precision = 16
auto_lr_find = False
auto_scale_batch_size = True
auto_select_gpus = True
check_val_every_n_epoch=1
accumulate_grad_batches=4
fast_dev_run = False
enable_progress_bar = True
#limit_val_batches=1
#limit_train_batches=1
detect_anomaly=False
[VARCLASSIFER_TRAIN]
max_epochs = 500
min_epochs = 100
#accelerator = gpu
benchmark = True
weights_summary = top
precision = 16
auto_lr_find = False
auto_scale_batch_size = True
auto_select_gpus = True
check_val_every_n_epoch=1
accumulate_grad_batches=8
fast_dev_run = False
enable_progress_bar = True
#limit_val_batches=1
#limit_train_batches=1
detect_anomaly=False
[LSTM_DATASET]
sample_rate = 5
annotation = anomaly_test.txt
data_path = /
num_workers = 12
batch_size = 32
[AUTOENCODER_DATASET]
batch_size = 4
data_path = /home/windows/Data/data/
num_workers = 16
[ANOMALY_DATASET]
batch_size = 32
data_path = /home/windows/Data/data/
annotation = anomaly_test.txt
num_workers = 1
sample_rate = -1
[LABELS]
Normal=0
Abuse=1
Arrest=2
Arson=3
Assault=4
Burglary=5
Explosion=6
Fighting=7
RoadAccidents=8
Robbery=9
Shooting=10
Shoplifting=11
Stealing=12
Vandalism=13