File size: 2,656 Bytes
9c0ac7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "alphabet": " !\"'()*+,-./0123456789:;<=>?ABCDEFGHIJKLMNOPRSTVWY[\\]_abcdefghiklmnoprstuvwxyz|}ЁАБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё’№",
    "save_dir": "/home/jovyan/skalinin/OCR-model/data/experiments/1024_128_add_new_dataset_album_augs_2",
    "num_epochs": 100,
    "pretrain_path": "",
    "image": {
        "width": 1024,
        "height": 128
    },
    "train": {
        "datasets": [
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_11032022_en/train.csv",
                "prob": 0.05
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_11032022_ru/train.csv",
                "prob": 0.1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_15102021/train.csv",
                "prob": 0.45
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_26012022/train.csv",
                "prob": 0.4
            }
        ],
        "epoch_size": 100000,
        "batch_size": 64
    },
    "val": {
        "datasets": [
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_11032022_en/val.csv",
                "prob": 1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_11032022_ru/val.csv",
                "prob": 1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_15102021/val.csv",
                "prob": 1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_26012022/val.csv",
                "prob": 1
            }
        ],
        "epoch_size": null,
        "batch_size": 64
    },
    "test": {
        "datasets": [
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_11032022_en/test.csv",
                "prob": 1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_11032022_ru/test.csv",
                "prob": 1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_15102021/test.csv",
                "prob": 1
            },
            {
                "csv_path": "/home/jovyan/skalinin/OCR-model/data/segmentation_26012022/test.csv",
                "prob": 1
            }
        ],
        "epoch_size": null,
        "batch_size": 64
    }
}