summaryrefslogtreecommitdiff
path: root/text_recognizer/data/iam_preprocessor.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-29 21:39:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-29 21:39:58 +0200
commitd21594211e29c40c135b753e33b248b0737cd76f (patch)
treeea37e2701fdc45b27815d8831e6b60ff6888e168 /text_recognizer/data/iam_preprocessor.py
parent46a1472d33d3a4180798492e819f2ec02bc3b1a3 (diff)
Refactor word piece scripts
Diffstat (limited to 'text_recognizer/data/iam_preprocessor.py')
-rw-r--r--text_recognizer/data/iam_preprocessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_recognizer/data/iam_preprocessor.py b/text_recognizer/data/iam_preprocessor.py
index 5d0fad6..a47aeed 100644
--- a/text_recognizer/data/iam_preprocessor.py
+++ b/text_recognizer/data/iam_preprocessor.py
@@ -166,7 +166,7 @@ def cli(
"""CLI for extracting text data from the iam dataset."""
if data_dir is None:
data_dir = (
- Path(__file__).resolve().parents[3] / "data" / "raw" / "iam" / "iamdb"
+ Path(__file__).resolve().parents[2] / "data" / "downloaded" / "iam" / "iamdb"
)
logger.debug(f"Using data dir: {data_dir}")
if not data_dir.exists():