-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_conf.json
58 lines (58 loc) · 1.1 KB
/
example_conf.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
{
"color_labels": {
"label_json_file": "./data/color_labels.json"
},
"train_dataset": {
"csv_filename": "./data/train.csv",
"base_dir": "./data/",
"type": "image_text_csv",
"compose": {
"transforms": [
{
"type": "fixed_size_resize",
"output_size": 1000000
}
]
}
},
"train_loader": "text_data_loader",
"val_dataset": {
"csv_filename": "./data/val.csv",
"base_dir": "./data/",
"type": "image_text_csv",
"compose": {
"transforms": [
{
"type": "fixed_size_resize",
"output_size": 1000000
}
]
}
},
"val_loader": "text_data_loader",
"model": {
"type": "text_segmentation_model",
"decoder": {
"decoder_channels": [
512,
256,
128,
64,
32
]
},
"encoder": {
"embeddings_encoder": {
"target_embeddings_size": 300
},
"embeddings_level": 0,
"type": "text_resnet50"
}
},
"batch_size": 2,
"model_out_dir": "./model",
"num_epochs": 5,
"optimizer": {
"lr": 0.0001
}
}