Пример #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"