UPSNet icon indicating copy to clipboard operation
UPSNet copied to clipboard

why I got the error in deformable_col2im invalid argument?

Open dingguo1996 opened this issue 6 years ago • 11 comments

why I got the error in deformable_col2im invalid argument? Even though it goes wrong, it still tells me loss, is that ok?

dingguo1996 avatar Apr 07 '19 01:04 dingguo1996

It seems like some environment configurations will cause this issue and the solution remains unknown, please comment L283 and L382 in upsnet/operators/src/deform_conv_kernel.cu and recompile it to suppress the log

YuwenXiong avatar Apr 07 '19 02:04 YuwenXiong

At present, the procedure seems to work without other problems. However, will the invalid argument problem influence result?

dingguo1996 avatar Apr 07 '19 02:04 dingguo1996

From our experience, it won't affect the results as long as the loss decreases normally

YuwenXiong avatar Apr 07 '19 16:04 YuwenXiong

Thank you for your patient reply!

dingguo1996 avatar Apr 08 '19 01:04 dingguo1996

Try using newer nvcc (e.g. 9.1 or 10.0) might solve this issue

YuwenXiong avatar Apr 08 '19 02:04 YuwenXiong

Thank you ! Though I still use nvcc 9.0 , it seems to work without other error except for the above problem.

dingguo1996 avatar Apr 08 '19 14:04 dingguo1996

@YuwenXiong Could you provide the script to re-build the deform* operator ?

We can not find the scripts to rebuild by ourselves.

PkuRainBow avatar Jul 14 '19 06:07 PkuRainBow

@qq237942920 Have solved this problem and could you share with me the building script?

PkuRainBow avatar Jul 15 '19 07:07 PkuRainBow

@PkuRainBow I just commented the warning code and rebuild it again.

dingguo1996 avatar Jul 17 '19 03:07 dingguo1996

@qq237942920 Could share with me the script that you use to rebuild ? Thanks~

PkuRainBow avatar Jul 17 '19 03:07 PkuRainBow

@PkuRainBow Could you add my qq or wechat that is shown on my username if you can.

dingguo1996 avatar Jul 17 '19 03:07 dingguo1996