DBNet.pytorch icon indicating copy to clipboard operation
DBNet.pytorch copied to clipboard

你的parse_config没写对

Open luotianhang opened this issue 3 years ago • 3 comments

def parse_config(config: dict) -> dict: import anyconfig base_file_list = config.pop('base') base_config = {} for base_file in base_file_list: tmp_config = anyconfig.load(open(base_file, 'rb')) if 'base' in tmp_config: tmp_config = parse_config(tmp_config) # anyconfig.merge(tmp_config, base_config) config.update(tmp_config)

# anyconfig.merge(base_config, config)
return config

luotianhang avatar Jan 13 '21 08:01 luotianhang

请问后面解决了吗?运行这个项目报了好多错,感觉要填很多坑。。

ZZHHogan avatar Apr 06 '21 03:04 ZZHHogan

你解决了吗?陷入无限迭代了

Letter24 avatar May 31 '21 07:05 Letter24

你解决了吗?陷入无限迭代了

我找到原因了,原来是因为我的图片是.png格式,需要在util.py中将jpg改成png,否则他会一直循环 ,

Letter24 avatar May 31 '21 08:05 Letter24