Traceback (most recent call last):


 "./ctpn/train_net.py", line 18, in <module>

roidb = get_training_roidb(imdb)


 "/home/jacob/下载/text-detection-ctpn-master/lib/fast_rcnn/train.py", line 188, in get_training_roidb

imdb.append_flipped_images()


 "/home/jacob/下载/text-detection-ctpn-master/lib/datasets/imdb.py", line 86, in append_flipped_images

widths = self._get_widths()


 "/home/jacob/下载/text-detection-ctpn-master/lib/datasets/imdb.py", line 82, in _get_widths

for i in range(self.num_images)]
AttributeError: 'module' object has no attribute 'Image'

Traceback (most recent call last):


 "/usr/local/bin/howdoi", line 8, in <module>

from howdoi.howdoi import command_line_runner


 "build/bdist.macosx-10.15-x86_64/egg/howdoi/howdoi.py", line 125, in <module>


 "/Library/Python/2.7/site-packages/cachelib-0.1.1-py2.7.egg/cachelib/file.py", line 54, in __init__

self._update_count(value=len(self._list_dir()))


 "/Library/Python/2.7/site-packages/cachelib-0.1.1-py2.7.egg/cachelib/file.py", line 69, in _update_count

self.set(self._fs_count_file, new_count, mgmt_element=True)


 "/Library/Python/2.7/site-packages/cachelib-0.1.1-py2.7.egg/cachelib/file.py", line 158, in set

os.replace(tmp, filename)
AttributeError: 'module' object has no attribute 'replace'
