zhang0jhon/AttentionOCR

运行“ python train.py”时出现错误

Opened this issue · 0 comments

博主您好我在运行train.py中遇到了以下错误
Traceback (most recent call last):
File "train.py", line 14, in
from text_dataflow import get_roidb, get_batch_train_dataflow
File "/opt/ocr/AttentionOCR-master/text_dataflow.py", line 19, in
from common import (
File "/opt/ocr/AttentionOCR-master/common.py", line 8, in
from tensorpack.dataflow.imgaug import ImageAugmentor, ResizeTransform
ImportError: cannot import name 'ResizeTransform'