File size: 670 Bytes
fc262e7
 
 
 
 
 
edacdfe
fc262e7
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from pathlib import Path

path_to_here = Path(__file__).resolve().parent
path_to_root = path_to_here.parent

path_to_data = path_to_root.joinpath("data")
path_to_resources = path_to_root.joinpath("resources")
path_to_images = path_to_root.joinpath("images")
path_to_plates = path_to_images.joinpath("plates")
path_to_leaf_discs = path_to_images.joinpath("leaf_discs")
path_to_leaf_patches = path_to_images.joinpath("leaf_patches")

path_to_checkpoints = path_to_root.joinpath("checkpoints")
path_to_chk_detector = path_to_checkpoints.joinpath("leaf_disc_detector")
path_to_chk_oiv = path_to_checkpoints.joinpath("oiv_scorer")

path_to_src = path_to_root.joinpath("src")