libtorch-yolov3 icon indicating copy to clipboard operation
libtorch-yolov3 copied to clipboard

yolov3 spp 使用时推理有问题呢?

Open liushuan opened this issue 4 years ago • 5 comments

liushuan avatar May 25 '20 08:05 liushuan

您好,我也遇到相同的问题,是否是推理输出为nan呢?

pangxiaowen avatar May 26 '20 03:05 pangxiaowen

我已经解决了这个问题 通过修改 cfg文件  把 spp的最后一个  [route] layers=-1,-3,-5,-6 修改为:   [route] layers=-1,-3

[route] layers=-1,-6

[route] layers=-1,-8

End SPP

------------------ 原始邮件 ------------------ 发件人: "pangxiaowen"<[email protected]>; 发送时间: 2020年5月26日(星期二) 中午11:47 收件人: "walktree/libtorch-yolov3"<[email protected]>; 抄送: "liushuan"<[email protected]>; "Author"<[email protected]>; 主题: Re: [walktree/libtorch-yolov3] yolov3 spp 使用时推理有问题呢? (#44)

您好,我也遇到相同的问题,是否是推理输出为nan呢?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

liushuan avatar May 26 '20 03:05 liushuan

十分感谢

pangxiaowen avatar May 26 '20 04:05 pangxiaowen

麻烦再问一下,为什么要这样修改呢?

pangxiaowen avatar May 26 '20 04:05 pangxiaowen

或者时修改 Darknet.cpp的源码,因为源码里面 只给了 1个和两个输入的情况。

------------------ 原始邮件 ------------------ 发件人: "pangxiaowen"<[email protected]>; 发送时间: 2020年5月26日(星期二) 中午12:32 收件人: "walktree/libtorch-yolov3"<[email protected]>; 抄送: "liushuan"<[email protected]>; "Author"<[email protected]>; 主题: Re: [walktree/libtorch-yolov3] yolov3 spp 使用时推理有问题呢? (#44)

麻烦再问一下,为什么要这样修改呢?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

liushuan avatar May 26 '20 04:05 liushuan