From 3899ba947a6ad986cd2ab2393211314ecc59c549 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Mon, 12 Aug 2024 10:26:41 +0100 Subject: [PATCH] Fix tqdm import in ocrs_models.datasets.hiertext Fix a mistake from when the `ocrs_models.datasets` module was converted into a package in 8ca41d5b1cd1f2bd3cad16ff10bd27404cfe5d9e. See https://github.com/robertknight/ocrs-models/issues/27. --- ocrs_models/datasets/hiertext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrs_models/datasets/hiertext.py b/ocrs_models/datasets/hiertext.py index 96459a1..5d560c8 100644 --- a/ocrs_models/datasets/hiertext.py +++ b/ocrs_models/datasets/hiertext.py @@ -6,7 +6,7 @@ import torch from torchvision.io import ImageReadMode, read_image, write_png from torchvision.transforms.functional import resize -import tqdm +from tqdm import tqdm from .util import ( Polygon,