PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

ppyoloe 在导出模型时,如何去掉scale_factor相关分支?

Open Luna2199 opened this issue 2 years ago • 3 comments

1683269543432

          > 可以考虑打开这个选项,剩余的后处理需要自己实现下

请问是打开哪个选项?我也想在导出onnx模型时去除scale_factor输入节点。

Originally posted by @lanzhou2012 in https://github.com/PaddlePaddle/PaddleDetection/issues/6996#issuecomment-1531431725

Luna2199 avatar May 05 '23 06:05 Luna2199

同问,在转ascend om模型的时候 不知道如何设置该scale_factor输入节点

Viserion-nlper avatar May 16 '23 02:05 Viserion-nlper

请问你解决了吗? @lanzhou2012

srd2018 avatar Jul 26 '23 07:07 srd2018

这是后处理的部分,导出模型的时候在语句后面加上这两个设置:exclude_nms=True exclude_post_process=True。

我也不知道为什么在configs/runtime.yml里面设置的没有效果,还好上面那样可以解决问题

user-xuxinhao avatar Jun 25 '24 17:06 user-xuxinhao

Since this issue has not been updated for more than three months, it will be closed, if it is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于该问题超过三个月未更新,将会被关闭,若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。

paddle-bot[bot] avatar Jul 01 '25 06:07 paddle-bot[bot]