From 2f19e8b863c54d16c1eb855bc89391063def15ce Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 2 Oct 2022 02:55:53 +0200 Subject: Add support for hydra 1.2, add metadata file --- training/metadata.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 training/metadata.py (limited to 'training/metadata.py') diff --git a/training/metadata.py b/training/metadata.py new file mode 100644 index 0000000..b5a868d --- /dev/null +++ b/training/metadata.py @@ -0,0 +1,6 @@ +"""Training paths.""" +from pathlib import Path + +TRAINING_DIR = Path(__file__).parents[0].resolve() +ARTIFACTS_DIR = TRAINING_DIR.parent / "text_recognizer" / "artifacts" +RUNS_DIR = TRAINING_DIR / "logs" / "runs" -- cgit v1.2.3-70-g09d2