oiv_ld_phenotyping / src /com_const.py
treizh's picture
Upload folder using huggingface_hub (#5)
edacdfe verified
raw
history blame contribute delete
No virus
670 Bytes
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")