Skip to content
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

export_model.py export_onnx=True tuple index out of range #8940

Open
2 of 3 tasks
xingfenghaizeiwang opened this issue Apr 20, 2024 · 0 comments
Open
2 of 3 tasks

export_model.py export_onnx=True tuple index out of range #8940

xingfenghaizeiwang opened this issue Apr 20, 2024 · 0 comments
Assignees

Comments

@xingfenghaizeiwang
Copy link

问题确认 Search before asking

  • 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

No response

Bug描述 Describe the Bug

python tools/export_model.py -c configs/faster_rcnn/faster_rcnn_r50_fpn_coco.yml -o weights=faster_rcnn_r50_fpn_coco.pdparams export_onnx=True __output_dir=inference_model

if sef.export_onnx:
onnx_rois_num_per = rois_num[0]

and x.shape[dim] is not None

tuple index out of range

复现环境 Environment

Windows
python 3.9.9
paddlepaddle 2.6.1
paddleDetection release 2.6

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants