training and synthetic data generation code
This commit is contained in:
9
manga_ocr_dev/env.py
Normal file
9
manga_ocr_dev/env.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pathlib import Path
|
||||
|
||||
ASSETS_PATH = Path(__file__).parent.parent / 'assets'
|
||||
|
||||
FONTS_ROOT = Path('~/data/jp_fonts').expanduser()
|
||||
DATA_SYNTHETIC_ROOT = Path('~/data/manga/synthetic').expanduser()
|
||||
BACKGROUND_DIR = Path('~/data/manga/Manga109s/background').expanduser()
|
||||
MANGA109_ROOT = Path('~/data/manga/Manga109s').expanduser()
|
||||
TRAIN_ROOT = Path('~/data/manga/out').expanduser()
|
||||
Reference in New Issue
Block a user