From d21594211e29c40c135b753e33b248b0737cd76f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 29 Mar 2021 21:39:58 +0200 Subject: Refactor word piece scripts --- text_recognizer/data/iam_preprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text_recognizer/data/iam_preprocessor.py') 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(): -- cgit v1.2.3-70-g09d2