Transformer_STR icon indicating copy to clipboard operation
Transformer_STR copied to clipboard

lmdb.Error: Text_detection/Transformer_STR-master/data/evaluation/CUTE80/: No such file or directory

Open xianyu-123 opened this issue 3 years ago • 3 comments

您好,我把验证数据集放在data目录下,执行evaluation.py时提示目录不存在,尝试了绝对路径也是存在这个问题。请问验证数据集应该使用什么样的存放路径,还是config.py需要修改其他的参数。

xianyu-123 avatar Mar 06 '21 02:03 xianyu-123

data_dir = 'path/to/data_lmdb_text_recognition'

config里的这个路径改成你保存数据的路径就好了

opconty avatar Mar 08 '21 06:03 opconty

assert len(datasets) > 0, 'datasets should not be an empty iterable'  # type: ignore

AssertionError: datasets should not be an empty iterable

lyc728 avatar Dec 06 '21 14:12 lyc728