MhLiao / MaskTextSpotter

A PyTorch implementation of Mask TextSpotter
https://github.com/MhLiao/MaskTextSpotter
413 stars 94 forks source link

运行sh test.sh提示文件不存在 #9

Closed Laura1021678398 closed 5 years ago

Laura1021678398 commented 5 years ago

提示错误:FileNotFoundError: [Errno 2] No such file or directory: 'datasets/icdar2013/test_gts/gt_img_1.txt'

ghost commented 5 years ago

@Laura1021678398 you need to download the dataset and place it in the datasets folder

Laura1021678398 commented 5 years ago

@deepseek I have placed icdar2013 in the datasets folder, but there have no test_gts folder in the icdar2013

MhLiao commented 5 years ago

@Laura1021678398 You can try to delete or comment this line

foocker commented 5 years ago

@Laura1021678398 You can try to delete or comment this line @MhLiao in icdar.py line 50: if self.vis: should add "and target", when test, target is None.

Laura1021678398 commented 5 years ago

万分感谢!!!

ghost commented 5 years ago

Or you can simply change line 87 from paths_catalog.py to gts_dir=None