Closed xingjunhong closed 2 years ago
我尝试了以下转onnx大小为(480,640)的,一样可以转,但模型是640x640的,想问一下这原因是什么?
没看明白你的问题,可以附上代码说明你的问题吗?
我想问一下,该工程有进行后处理吗?
需要nms等后处理
发件人: xingjunhong @.> 发送时间: Friday, July 22, 2022 7:39:58 PM 收件人: ShiqiYu/libfacedetection.train @.> 抄送: Yuantao Feng @.>; Comment @.> 主题: Re: [ShiqiYu/libfacedetection.train] 模型为640x640,转onnx输入尺寸不同,没有报错是什么原因? (Issue #50)
我想问一下,该工程有进行后处理吗?
― Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FShiqiYu%2Flibfacedetection.train%2Fissues%2F50%23issuecomment-1192484263&data=05%7C01%7C%7Cfb6ec94931814947422508da6bd6e833%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637940868001572174%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jr4eulcJz5PvSMsM%2BxxskWdS3xgcly%2FIcdCnkbvEMTc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEDL63WBMLUTVXY3PUBDN53VVKCA5ANCNFSM537H72RA&data=05%7C01%7C%7Cfb6ec94931814947422508da6bd6e833%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637940868001572174%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jbt9ybAiRXjoqmGmY8C0cHzVAd3mKHX%2BAXopGdfrbCs%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
代码位置可以说一下吗?我没有找到~谢谢你啦
onnx推理的代码在libfacedetection/opencv_dnn里:https://github.com/ShiqiYu/libfacedetection/tree/master/opencv_dnn
onnx推理的代码在libfacedetection/opencv_dnn里:https://github.com/ShiqiYu/libfacedetection/tree/master/opencv_dnn
请问有c++的nms后处理代码吗?
onnx推理的代码在libfacedetection仓库的opencv_dnn里面
发件人: xingjunhong @.> 发送时间: Friday, July 22, 2022 7:46:03 PM 收件人: ShiqiYu/libfacedetection.train @.> 抄送: Yuantao Feng @.>; Comment @.> 主题: Re: [ShiqiYu/libfacedetection.train] 模型为640x640,转onnx输入尺寸不同,没有报错是什么原因? (Issue #50)
代码位置可以说一下吗?我没有找到~谢谢你啦
― Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FShiqiYu%2Flibfacedetection.train%2Fissues%2F50%23issuecomment-1192488973&data=05%7C01%7C%7C8b93192bc9214c7dfd6e08da6bd7c218%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637940871668511206%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gyly2obRbdfn9CP6Fl7gveeTrQ%2F0CUZDlMoLO50%2BELM%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEDL63SIGP7V6G7GFGIKCCLVVKCXXANCNFSM537H72RA&data=05%7C01%7C%7C8b93192bc9214c7dfd6e08da6bd7c218%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637940871668511206%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qtwbcywkxNMKshJ03ay0zEqeZ6kW4XkcdK66h%2BGrXXY%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
模型为640x640,但是为转onnx的时候尺寸改为641的大小也一样可以转onnx,请问这是为什么呢?不是规定了是640x640的大小吗?