Cassieyy
Cassieyy
> 同问,我也出现这个问题,请问您解决了吗 @mjanddy 建议改下config中的num_workers(改小一点否则会思索 如果还不行,请用单卡训练
I encountered the similar error, that is, 'RuntimeError: Input type (torch.cuda.HalfTensor) and weight type (torch.FloatTensor) should be the same', begging for a good solution! thanks in advance!
您好 我在3d里面也遇到的output为nan的情况 请问您是改了哪行代码?
> 这个源代码的作者已经把这个bug改过来了,你直接用现有的代码就可以了 > […](#) > ------------------ 原始邮件 ------------------ 发件人: "kaijieshi7/Dynamic-convolution-Pytorch" ***@***.***>; 发送时间: 2021年5月12日(星期三) 下午2:56 ***@***.***>; ***@***.******@***.***>; 主题: Re: [kaijieshi7/Dynamic-convolution-Pytorch] 想请教以下用3D动态卷积的时候报错问题 (#5) 您好 我在3d里面也遇到的output为nan的情况 请问您是改了哪行代码? — You are receiving this because you authored the thread....
> it works for me!!!
您的邮件已收到哦我会及时处理哒~
> 我猜测可能是因为预处理经过了resize+居中padding,ncnn的输出结果实际上是在预处理后的图像上的坐标,需要再转换到原图上去(参考draw_box里面:(x1 - effect_roi.x) * width_ratio) 您好,我是在pth转onnx后有精度不一致问题,确实遇到的resize的居中padding,因为一般的onnx是要求输入固定的,所以如果我h w keep_ratio的话,就很容易导致输入维度与onnx输入不一致的问题,我做的就是向右下padding的操作。 现在想想感觉不是特别妥当,想请教下pth -> onnx转换数据维度不一致该怎么处理,padding的话您建议哪种padding方式?期待您的回答 谢谢!
您的邮件已收到哦我会及时处理哒~
Thanks for your great contributions, I'm looking forward to your reply.
> Hello, you are right. the input of the model is [bs, channel, 224, 224]. > There is no strict limit for the size of 224. Actually the bigger the...