You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.
Bug组件 Bug Component
Export
Bug描述 Describe the Bug
使用自定义数据集完成ppyoloe模型训练后,执行export脚本 CUDA_VISIBLE_DEVICES=0 python tools/export_model.py -c /workspace/ljy/algo/smalldet/PaddleDetection-release-2.8/configs/smalldet/ppyoloe_crn_l_80e_sliced_smoke_640_025.yml -o weights=/workspace/ljy/algo/smalldet/PaddleDetection-release-2.8/output/best_model.pdparams
提示 Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): `pip install numba==0.56.4` Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): `pip install numba==0.56.4` Warning: import ppdet from source directory without installing, run 'python setup.py install' to install ppdet firstly [12/24 11:28:39] ppdet.utils.checkpoint INFO: Finish loading model weights: /workspace/ljy/algo/smalldet/PaddleDetection-release-2.8/output/best_model.pdparams loading annotations into memory... Done (t=0.00s) creating index... index created! [12/24 11:28:39] ppdet.engine INFO: Export inference config file to output_inference/ppyoloe_crn_l_80e_sliced_smoke_640_025/infer_cfg.yml [12/24 11:28:40] ppdet.engine INFO: Export model and saved in output_inference/ppyoloe_crn_l_80e_sliced_smoke_640_025
但在ppyoloe_crn_l_80e_sliced_smoke_640_025`文件夹中,仅有infer_cfg.yml, model.json, model.pdiparams文件,无pdmodel文件
使用官方提供的模型运行export转换脚本后也无pdmodel文件
复现环境 Environment
linux
GCC 11.2.0
paddle 2.8
Bug描述确认 Bug description confirmation
我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.
是否愿意提交PR? Are you willing to submit a PR?
我愿意提交PR!I'd like to help by submitting a PR!
The text was updated successfully, but these errors were encountered:
[ONNXRuntimeError] : 1 : FAIL : Load model from F:\Code_Toilet\paddle_keypoints\PaddleDetection\ppyoloee.onnx failed:Node (Gather.8) Op (Gather) [ShapeInferenceError] data tensor must have rank >= 1
File "F:\Code_Toilet\paddle_keypoints\PaddleDetection\model_validation.py", line 23, in <module>
m = rt.InferenceSession(onnx_model_path, providers=providers)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from F:\Code_Toilet\paddle_keypoints\PaddleDetection\ppyoloee.onnx failed:Node (Gather.8) Op (Gather) [ShapeInferenceError] data tensor must have rank >= 1
问题确认 Search before asking
Bug组件 Bug Component
Export
Bug描述 Describe the Bug
使用自定义数据集完成ppyoloe模型训练后,执行export脚本
CUDA_VISIBLE_DEVICES=0 python tools/export_model.py -c /workspace/ljy/algo/smalldet/PaddleDetection-release-2.8/configs/smalldet/ppyoloe_crn_l_80e_sliced_smoke_640_025.yml -o weights=/workspace/ljy/algo/smalldet/PaddleDetection-release-2.8/output/best_model.pdparams
提示
Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): `pip install numba==0.56.4` Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): `pip install numba==0.56.4` Warning: import ppdet from source directory without installing, run 'python setup.py install' to install ppdet firstly [12/24 11:28:39] ppdet.utils.checkpoint INFO: Finish loading model weights: /workspace/ljy/algo/smalldet/PaddleDetection-release-2.8/output/best_model.pdparams loading annotations into memory... Done (t=0.00s) creating index... index created! [12/24 11:28:39] ppdet.engine INFO: Export inference config file to output_inference/ppyoloe_crn_l_80e_sliced_smoke_640_025/infer_cfg.yml [12/24 11:28:40] ppdet.engine INFO: Export model and saved in output_inference/ppyoloe_crn_l_80e_sliced_smoke_640_025
但在ppyoloe_crn_l_80e_sliced_smoke_640_025`文件夹中,仅有infer_cfg.yml, model.json, model.pdiparams文件,无pdmodel文件
使用官方提供的模型运行export转换脚本后也无pdmodel文件
复现环境 Environment
linux
GCC 11.2.0
paddle 2.8
Bug描述确认 Bug description confirmation
是否愿意提交PR? Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: