diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-02 01:01:51 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-02 01:01:51 +0200 |
commit | e5eca28438cd17d436359f2c6eee0bb9e55d2a8b (patch) | |
tree | c8d77aa0a77d31f63dc2b81eee6d9c5f37e0e2f1 /text_recognizer/data/mappings.py | |
parent | 04876c35a1eeea68794745f1ca113754c0d97757 (diff) |
Fixed wandb callback bug, add word_pieces arg to iam paragraph
Diffstat (limited to 'text_recognizer/data/mappings.py')
-rw-r--r-- | text_recognizer/data/mappings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/text_recognizer/data/mappings.py b/text_recognizer/data/mappings.py index a934fd9..b69e888 100644 --- a/text_recognizer/data/mappings.py +++ b/text_recognizer/data/mappings.py @@ -4,7 +4,7 @@ from pathlib import Path from typing import Dict, List, Optional, Union, Set, Sequence import attr -from loguru import logger +import loguru.logger as log import torch from torch import Tensor @@ -87,7 +87,7 @@ class WordPieceMapping(EmnistMapping): if self.data_dir is None else Path(self.data_dir) ) - logger.debug(f"Using data dir: {self.data_dir}") + log.debug(f"Using data dir: {self.data_dir}") if not self.data_dir.exists(): raise RuntimeError(f"Could not locate iamdb directory at {self.data_dir}") |