From 60f8f1e1812cb6e45f0d54e41bcf8c33e31ea3b1 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Fri, 6 Nov 2020 19:09:52 +0800 Subject: [PATCH] del unuse import --- ppocr/data/lmdb_dataset.py | 4 ---- ppocr/data/simple_dataset.py | 3 --- 2 files changed, 7 deletions(-) diff --git a/ppocr/data/lmdb_dataset.py b/ppocr/data/lmdb_dataset.py index ffa05228..e7bb6dd3 100644 --- a/ppocr/data/lmdb_dataset.py +++ b/ppocr/data/lmdb_dataset.py @@ -11,13 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import copy import numpy as np import os -import random -import paddle from paddle.io import Dataset -import time import lmdb import cv2 diff --git a/ppocr/data/simple_dataset.py b/ppocr/data/simple_dataset.py index e9813cdc..e9a0a2ae 100644 --- a/ppocr/data/simple_dataset.py +++ b/ppocr/data/simple_dataset.py @@ -11,13 +11,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import copy import numpy as np import os import random -import paddle from paddle.io import Dataset -import time from .imaug import transform, create_operators -- GitLab