FuxiCV / pt_mesh_renderer

A PyTorch implementation for the "Mesh Renderer"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing problem

MariaWang96 opened this issue · comments

Hi! I meet a problem when I install this project. My machine is Ubuntu 16.04, gtx1080, python3.7, torch 1.6.0, cuda 10.1.
Hope for a solution. Thanks!

`pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(384): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(385): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(386): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(387): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(388): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(389): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

pt_mesh_renderer/kernels/rasterize_triangles_cuda_impl.cu(390): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during instantiation of "void pytorch_mesh_renderer::RasterizeTrianglesBackwardCudaKernel(const scalar_t *, const int64_t *, const scalar_t *, const int64_t *, const scalar_t *, int32_t, int32_t, scalar_t *) [with scalar_t=double]"
(407): here

10 errors detected in the compilation of "/tmp/tmpxft_0000049a_00000000-7_rasterize_triangles_cuda_impl.cpp1.ii".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 2
`