예제 #1
0
def model_test_dir(model_cls: Any) -> Path:
    """
    Return a directory to be used for models of the passed type.
    Helpful when the user wants data to be persisted so weights don't
    have to be reloaded for each test run.
    """
    return gobbli_dir() / "model_test" / model_cls.__name__
예제 #2
0
def model_dir() -> Path:
    return gobbli_dir() / "model"
예제 #3
0
def dataset_dir() -> Path:
    return gobbli_dir() / "dataset"
예제 #4
0
def augment_dir() -> Path:
    return gobbli_dir() / "augment"
예제 #5
0
def experiment_dir() -> Path:
    return gobbli_dir() / "experiment"