summaryrefslogtreecommitdiff
path: root/training/metadata.py
diff options
context:
space:
mode:
Diffstat (limited to 'training/metadata.py')
-rw-r--r--training/metadata.py6
1 files changed, 6 insertions, 0 deletions
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"