daniilidis-group / neural_renderer

A PyTorch port of the Neural 3D Mesh Renderer
Other
1.12k stars 248 forks source link

it haves some error in cuda11.4 #133

Open monument-and-sea-all-the-gift opened 2 years ago

monument-and-sea-all-the-gift commented 2 years ago

how to install in environment cuda11.4,RTX 3080ti not suport old version pytorch,look forward to your reply ,thank you

marcomameli1992 commented 2 years ago

I have encountered a problem like this: TensorBody.h:210:30: note: declared here 210 | DeprecatedTypeProperties & type() const

rabbityqc commented 1 year ago

1.在Linux的cuda11.3上安装时,只需要修改CHECK方式,参照博客https://blog.csdn.net/axept/article/details/127359947 2.在Windows的cuda11.3上安装时,如果提示error:neural_renderer\cuda\rasterize_cuda_kernel.cu中第9行atomicAdd函数重复定义,nvcc.exe failed with exit code 2,只需要去对应路径下找到这个函数,并把它完全注释掉即可。可能这个函数是专为旧版本GPU设计的,新版本GPU已经自动包含了,导致重复定义,把这个函数定义注释掉就安装成功了

rohit7044 commented 1 year ago

This repository doesn't support Cuda 11+. Check this repository optimized for cuda11.