ShichenLiu / SoftRas

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

import soft_renderer.cuda.load_textures as load_textures_cuda #71

Open prajotsl123 opened 3 years ago

prajotsl123 commented 3 years ago

ERROR: ImportError: /home/ankita/anaconda3/envs/pro/lib/python3.6/site-packages/soft_renderer-1.0.0-py3.6-linux-x86_64.egg/soft_renderer/cuda/load_textures.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c108BFloat16EEEPKNS_6detail12TypeMetaDataEv

env : torch==1.2.0+cu92 torchvision==0.4.0+cu92

xmeng525 commented 3 years ago

Hi, I got the same error. And I succeed by switching to another cuda version: Python3.6 + cuda10.0 + pytorch==1.1.0 + torchvision==0.3.0 Good luck!

pfvaldez commented 3 years ago

Is there another way to solve this? My machine is only compatible with cuda 11.1, 11.2