在cmd下运行显示:Error when construct VOCDataSet instance from yaml config
Traceback (most recent call last):
File "tools/train.py", line 139, in
main()
File "tools/train.py", line 115, in main
cfg = load_config(FLAGS.config)
File "E:\Python\lib\site-packages\paddledet-2.2.0-py3.7.egg\ppdet\core\workspace.py", line 114, in load_config
cfg = _load_config_with_base(file_path)
File "E:\Python\lib\site-packages\paddledet-2.2.0-py3.7.egg\ppdet\core\workspace.py", line 79, in _load_config_with_base
file_cfg = yaml.load(f, Loader=yaml.Loader)
File "E:\Python\lib\site-packages\yaml\__init__.py", line 114, in load
return loader.get_single_data()
File "E:\Python\lib\site-packages\yaml\constructor.py", line 51, in get_single_data
return self.construct_document(node)
File "E:\Python\lib\site-packages\yaml\constructor.py", line 60, in construct_document
for dummy in generator:
File "E:\Python\lib\site-packages\yaml\constructor.py", line 413, in construct_yaml_map
value = self.construct_mapping(node)
File "E:\Python\lib\site-packages\yaml\constructor.py", line 218, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "E:\Python\lib\site-packages\yaml\constructor.py", line 143, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "E:\Python\lib\site-packages\yaml\constructor.py", line 100, in construct_object
data = constructor(self, node)
File "E:\Python\lib\site-packages\paddledet-2.2.0-py3.7.egg\ppdet\core\config\yaml_helpers.py", line 45, in python_constructor
raise ex
File "E:\Python\lib\site-packages\paddledet-2.2.0-py3.7.egg\ppdet\core\config\yaml_helpers.py", line 41, in python_constructor
return cls(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'with_background'
TypeError: __init__() got an unexpected keyword argument 'with_background'
看起李艾说没有with_background这个选项,再瞅瞅?