SoftRas icon indicating copy to clipboard operation
SoftRas copied to clipboard

Error in cuda kernels with Pytorch 1.3

Open avik-pal opened this issue 5 years ago • 3 comments

I am trying to reproduce the model for unsupervised mesh reconstruction (using the same script as in the examples directory). But during training I get the following recurring errors (the code doesn't terminate due to these)

Error in forward_transform_inv_triangle: invalid device function
Error in forward_soft_rasterize: invalid device function
Error in backward_soft_rasterize: invalid device function

I am using Pytorch 1.3 and CUDA 10.0

avik-pal avatar Oct 24 '19 08:10 avik-pal

Hi,

Probably the API doesn't fit Pytorch 1.3. We will look into it later. For now can you try to install it on PyTorch 1.1.0? Thanks.

ShichenLiu avatar Oct 25 '19 06:10 ShichenLiu

Sure. I will give a try with Pytorch 1.1.0

avik-pal avatar Oct 25 '19 08:10 avik-pal

@ShichenLiu Thanks. It runs on Pytorch 1.1. I am changing the issue title for convenience.

avik-pal avatar Oct 26 '19 03:10 avik-pal