-
Notifications
You must be signed in to change notification settings - Fork 8
/
parameters.ini
executable file
·45 lines (42 loc) · 1.07 KB
/
parameters.ini
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
[dataset]
benign_filepath = "PATH TO BENIGN DATASET/"
malicious_filepath = "PATH TO MALICIOUS DATASET/"
helper_filepath = ./helper_files/
malicious_files_list = None
benign_files_list = None
load_mapping_from_pickle = True
pickle_mapping_file = imported_function_to_index_mapping_dict.p
use_subset_of_data = True
num_files_to_use = 15200
num_features_to_use = None
test_size_percent = 0.2
generate_feature_vector_files = False
use_saved_feature_vectors = True
[general]
is_synthetic_dataset = False
is_cuda = True
gpu_device = 0
log_interval = 10
seed = 1
training_method = natural
evasion_method = dfgsm_k
experiment_suffix = demo
save_every_epoch = False
load_model_weights = True
model_weights_path = ./helper_files/[training:natural|evasion:dfgsm_k]_demo-model.pt
num_workers = 8
[hyperparam]
starting_epoch = 0
ff_h1 = 300
ff_h2 = 300
ff_h3 = 300
ff_learning_rate = .001
ff_num_epochs = 10
evasion_iterations = 50
training_batch_size = 8
test_batch_size = 8
[challenge]
eval = True
attack = False
defend = True
adv_examples_path = "PATH TO WHERE ADVERSARIAL EXAMPLES SHOULD BE STORED"