-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
成功进行Mask-RT-DETR-S模型训练后,模型评估出现报错 #3544
Comments
把paddlepaddle版本修改为3.0.0rc1还是有报错 |
请问有修改过配置文件吗 |
您好,修改配置文件也只是修改一下路径,没有在其他地方进行修改 CheckDataset: Train: Evaluate: Export: Predict: |
Checklist:
描述问题
复现
是
否
自有数据集,coco格式
(paddle) PS E:\study\PaddleX> python main.py -c E:/study/PaddleX/paddlex/configs/modules/instance_segmentation/Mask-RT-DETR-S.yaml -o Global.mode=evaluate -o Global.dataset_dir=F:/study_datasets/Point1_dataset/datasets_coco/dataset_dir
['D:\anaconda3\envs\paddle\python.exe', 'tools/eval.py', '--config', 'C:\Users\admin\.paddlex\tmp4n7qt6z7\instancesegmodel_Mask-RT-DETR-S.yml']
��Ϣ: ���ṩ��ģʽ���ҵ��ļ���
[03/06 21:02:32] ppdet.utils.checkpoint INFO: Skipping import of the encryption module.
Error when construct ImageFolder instance from yaml config
Traceback (most recent call last):
File "tools/eval.py", line 215, in
main()
File "tools/eval.py", line 164, in main
cfg = load_config(FLAGS.config)
File "E:\study\PaddleX\paddlex\repo_manager\repos\PaddleDetection\ppdet\core\workspace.py", line 124, in load_config
cfg = _load_config_with_base(file_path)
File "E:\study\PaddleX\paddlex\repo_manager\repos\PaddleDetection\ppdet\core\workspace.py", line 88, in load_config_with_base
file_cfg = yaml.load(f, Loader=yaml.Loader)
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml_init.py", line 81, in load
return loader.get_single_data()
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml\constructor.py", line 51, in get_single_data
return self.construct_document(node)
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml\constructor.py", line 60, in construct_document
for dummy in generator:
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml\constructor.py", line 413, in construct_yaml_map
value = self.construct_mapping(node)
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml\constructor.py", line 218, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml\constructor.py", line 143, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "D:\anaconda3\envs\paddle\lib\site-packages\yaml\constructor.py", line 100, in construct_object
data = constructor(self, node)
File "E:\study\PaddleX\paddlex\repo_manager\repos\PaddleDetection\ppdet\core\config\yaml_helpers.py", line 45, in python_constructor
raise ex
File "E:\study\PaddleX\paddlex\repo_manager\repos\PaddleDetection\ppdet\core\config\yaml_helpers.py", line 41, in python_constructor
return cls(**kwargs)
TypeError: new() got multiple values for argument 'cls'
Traceback (most recent call last):
File "E:\study\PaddleX\paddlex\utils\result_saver.py", line 29, in wrap
result = func(self, *args, **kwargs)
File "E:\study\PaddleX\paddlex\engine.py", line 44, in run
return self._model.evaluate()
File "E:\study\PaddleX\paddlex\model.py", line 105, in evaluate
return evaluator.evaluate()
File "E:\study\PaddleX\paddlex\modules\base\evaluator.py", line 118, in evaluate
evaluate_result = self.pdx_model.evaluate(**self.get_eval_kwargs())
File "E:\study\PaddleX\paddlex\repo_apis\PaddleDetection_api\instance_seg\model.py", line 190, in evaluate
cp = self.runner.evaluate(config_path, cli_args, device, ips)
File "E:\study\PaddleX\paddlex\repo_apis\PaddleDetection_api\instance_seg\runner.py", line 82, in evaluate
cp = self.run_cmd(
File "E:\study\PaddleX\paddlex\repo_apis\base\runner.py", line 356, in run_cmd
raise CalledProcessError(
paddlex.utils.errors.others.CalledProcessError: Command ['D:\anaconda3\envs\paddle\python.exe', 'tools/eval.py', '--config', 'C:\Users\admin\.paddlex\tmp4n7qt6z7\instancesegmodel_Mask-RT-DETR-S.yml'] returned non-zero exit status 1.
环境
3.0.0b2 3.0.0rc0
Windows
3.8
11.8 8.9.2.26
The text was updated successfully, but these errors were encountered: