-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
26 lines (23 loc) · 1.09 KB
/
config.py
File metadata and controls
26 lines (23 loc) · 1.09 KB
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
from logging import root
import os
####################### Path constants #######################
root = os.path.dirname(__file__)
path = {
'project_path' : root,
'raw_data' : os.path.join(root, 'raw_data'),
'forms' : os.path.join(root, 'raw_data' , 'forms'),
'xml' : os.path.join(root, 'raw_data' , 'xml'),
'ascii' : os.path.join(root, 'raw_data' , 'ascii'),
'paragraphs' : os.path.join(root, 'preprocessed_data', 'paragraphs'),
'paragraphs_edged' : os.path.join(root, 'preprocessed_data', 'paragraphs_edged'),
'cropped_images' : os.path.join(root, 'preprocessed_data', 'cropped_images' ),
'dataset' : os.path.join(root, 'dataset'),
'train_set' : os.path.join(root, 'dataset', 'train_set'),
'test_set' : os.path.join(root, 'dataset', 'test_set'),
}
####################### google drive #######################
google_ids = {
'ascii' : '1KGpmejUbouzWqvoJjY71iuSp4KfnMJfg',
'forms' : '1KPPRUlm8X6hDHVLmRhZ5VNFr686qCqcb',
'xml' : '1BXbzmfk8NWxzqOKQXVgiXGlCRGczqNwT'
}