-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.json
executable file
·48 lines (46 loc) · 1.32 KB
/
config.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
{
"general": {
"raw_data_path": "./Data/words/",
"processed_data_path":"./Data/Images/",
"csv_path": "./Data/appropriate_images.csv",
"height":64,
"width":1024,
"dictionary": "{0:'0', 1:'1', 2:'2', 3:'3', 4:'4', 5:'5', 6:'6', 7:'7', 8:'8', 9:'9', 10:'A',
11:'B', 12:'C', 13:'D', 14:'E', 15:'F', 16:'G', 17:'H', 18:'I', 19:'J', 20:'K',
21:'L', 22:'M', 23:'N', 24:'O', 25:'P', 26:'Q', 27:'R', 28:'S', 29:'T', 30:'U',
31:'V', 32:'W', 33:'X', 34:'Y', 35:'Z', 36:'a', 37:'b', 38:'c', 39:'d', 40:'e',
41:'f', 42:'g', 43:'h', 44:'i', 45:'j', 46:'k', 47:'l', 48:'m', 49:'n', 50:'o',
51:'p', 52:'q', 53:'r', 54:'s', 55:'t', 56:'u', 57:'v', 58:'w', 59:'x', 60:'y', 61:'z'}"}
,
"cnn-rnn-ctc": {
"kernel_size": 5,
"num_conv1" :20,
"num_conv2" : 50,
"num_conv3" : 100,
"num_conv4" : 200,
"num_conv5" : 400,
"num_rnn" : 200,
"num_fc" : 200,
"num_classes":63,
"ctc_input_len":32
}
,
"cross-validation": {
"csv_path": "./CSV/Cross-Validation/",
"results_path": "./Results/Cross-Validation/",
"num_epochs":20000,
"validation_period":50,
"print_period":1000,
"batch_size" : 500
}
,
"IAM-test": {
"csv_path": "./CSV/IAM test/",
"results_path": "./Results/IAM test/",
"checkpoints_path": "./Checkpoints/",
"num_epochs":50000,
"validation_period":50,
"print_period":1000,
"batch_size" : 500
}
}