aistudio安装paddledetection开始训练数据集显示:Error when construct VOCDataSet instance from yaml config
以下是终端显示结果,该怎么解决呢?
aistudio@jupyter-916522-2292927:~/d/PaddleDetection$ python -u tools/train.py -c configs/yolov3_mobilenet_v1_fruit.yml --eval
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/__init__.py:107: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import MutableMapping
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable, Mapping
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Sized
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 "/home/aistudio/d/PaddleDetection/ppdet/core/workspace.py", line 114, in load_config
cfg = _load_config_with_base(file_path)
File "/home/aistudio/d/PaddleDetection/ppdet/core/workspace.py", line 79, in _load_config_with_base
file_cfg = yaml.load(f, Loader=yaml.Loader)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/__init__.py", line 114, in load
return loader.get_single_data()
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/constructor.py", line 43, in get_single_data
return self.construct_document(node)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/constructor.py", line 52, in construct_document
for dummy in generator:
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/constructor.py", line 404, in construct_yaml_map
value = self.construct_mapping(node)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/constructor.py", line 210, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/constructor.py", line 135, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/yaml/constructor.py", line 92, in construct_object
data = constructor(self, node)
File "/home/aistudio/d/PaddleDetection/ppdet/core/config/yaml_helpers.py", line 45, in python_constructor
raise ex
File "/home/aistudio/d/PaddleDetection/ppdet/core/config/yaml_helpers.py", line 41, in python_constructor
return cls(**kwargs)
用的yolov3模型