ShichenLiu / SoftRas

Project page of paper "Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning"
MIT License
1.2k stars 156 forks source link

CUDA error: device-side assert triggered #63

Open Wi-sc opened 3 years ago

Wi-sc commented 3 years ago

Hi, I meet this problem. Is there anyone meet it? How can I fix it?

File "/.local/lib/python3.6/site-packages/soft_renderer-1.0.0-py3.6-linux-x86_64.egg/soft_renderer/functional/directional_lighting.py", line 14, in directional_lighting light_color = torch.tensor(light_color, dtype=torch.float32, device=device)
RuntimeError: CUDA error: device-side assert triggered