From c4701ae084ae35ec4b9f9acd6e7cb7c114adcb3c Mon Sep 17 00:00:00 2001 From: Hongyu Liu <43953930+phlrain@users.noreply.github.com> Date: Mon, 3 Jun 2019 16:02:15 +0800 Subject: [PATCH] Fix ocr reader (#2346) * add pbt lm; test=develop * add dynamic ocr recognition; test=develop * add unility.py; test=develop * add readme; test=develop * fix bug; test=develop * fix bug; test=develop * fix bug; test=develop * fix reader CACAHE_DIR_NAME; test=develop * fix cache dir name; test=develop --- dygraph/ocr_recognition/data_reader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dygraph/ocr_recognition/data_reader.py b/dygraph/ocr_recognition/data_reader.py index 41618ae1..7b1b9b5f 100644 --- a/dygraph/ocr_recognition/data_reader.py +++ b/dygraph/ocr_recognition/data_reader.py @@ -17,6 +17,7 @@ DATA_SHAPE = [1, 48, 512] DATA_MD5 = "7256b1d5420d8c3e74815196e58cdad5" DATA_URL = "http://paddle-ocr-data.bj.bcebos.com/data.tar.gz" +CACHE_DIR_NAME = "attention_data" SAVED_FILE_NAME = "data.tar.gz" DATA_DIR_NAME = "data" TRAIN_DATA_DIR_NAME = "train_images" -- GitLab