forked from herobd/Visual-Template-Free-Form-Parsing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcf_no_vis_pairing.json
64 lines (59 loc) · 1.4 KB
/
cf_no_vis_pairing.json
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
{
"name": "no_vis_pairing",
"cuda": false,
"gpu": 0,
"save_mode": "state_dict",
"override": true,
"super_computer":false,
"data_loader": {
"data_set_name": "FormsFeaturePair",
"simple_dataset": true,
"alternate_json_dir": "out/detection_data/",
"data_dir": "../data/NAF_dataset",
"batch_size": 512,
"shuffle": true,
"num_workers": 0,
"no_blanks": true,
"swap_circle":true,
"no_graphics":true,
"cache_resized_images": true,
"rotation": false,
"balance": true,
"only_opposite_pairs": true,
"corners":true
},
"validation": {
"shuffle": false,
"balance": false
},
"lr_scheduler_type": "none",
"optimizer_type": "Adam",
"optimizer": {
"lr": 0.001,
"weight_decay": 0
},
"loss": "sigmoid_BCE_loss",
"loss_params":
{
},
"metrics": [],
"trainer": {
"class": "FeaturePairTrainer",
"iterations": 10000,
"save_dir": "saved/",
"val_step": 2000,
"save_step": 2000,
"save_step_minor": 250,
"log_step": 50,
"verbosity": 1,
"monitor": "loss",
"monitor_mode": "none"
},
"arch": "SimpleNN",
"model": {
"feat_size":18,
"num_layers": 2,
"hidden_size": 256,
"out_size": 1
}
}