Open xianyu-123 opened 3 years ago
data_dir = 'path/to/data_lmdb_text_recognition'
config里配置一下数据集路径
您好,
data_dir = 'path/to/data_lmdb_text_recognition'
config里配置一下数据集路径
您好,我将数据放在DATA目录下,运行时候提示:lmdb.Error: /home/wgj/DATA/CUTE80_Dataset/evaluation/CUTE80: No such file or directory
Did you fix it?
您好,
data_dir = 'path/to/data_lmdb_text_recognition'
config里配置一下数据集路径您好,我将数据放在DATA目录下,运行时候提示:lmdb.Error: /home/wgj/DATA/CUTE80_Dataset/evaluation/CUTE80: No such file or directory
你好,你解决了吗?
class Config(config.Config): train_data = os.path.join(config.data_dir, 'training') valid_data = os.path.join(config.data_dir, 'validation') saved_model = '' select_data = ['SJ', 'MJ'] # select training data 把select_data = ['SJ', 'MJ']改成select_data = ['ST', 'MJ'],数据集ST写错了!
assert len(datasets) > 0, 'datasets should not be an empty iterable' # type: ignore AssertionError: datasets should not be an empty iterable
运行evaluation或者train,使用绝对路径会提示路径不存在,使用相对路径提示数据集不能为空,这种情况应该怎么操作呢?有没有人能指点一下,谢谢了