ShichenLiu / SoftRas

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

调用cpp文件问题 #64

Open yqin98 opened 4 years ago

yqin98 commented 4 years ago

你好,在pycharm运行train.py时报错ModuleNotFoundError :No module named 'soft_renderer.cuda.load_textures_cuda',查看之后发现cuda文件夹中只有load_textures_cuda.cpp和load_textures_cuda_kernel.cu文件,请问这要怎么处理呢。在cmd运行时没有出现这种错误。谢谢~

ShichenLiu commented 4 years ago

Sorry, I don't use Pycharm. My guess is that it is related to the included path in PyCharm.

yqin98 commented 4 years ago

Thanks, I’ll try it~

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Shichen Liu <notifications@github.com> 发送时间: 2020年10月27日 11:27 收件人: ShichenLiu/SoftRas <SoftRas@noreply.github.com> 抄送: yqin98 <1985419290@qq.com>, Author <author@noreply.github.com> 主题: 回复:[ShichenLiu/SoftRas] 调用cpp文件问题 (#64)

Sorry, I don't use Pycharm. My guess is that it is related to the included path in PyCharm.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

juniorliu95 commented 3 years ago

你好,在pycharm运行train.py时报错ModuleNotFoundError :No module named 'soft_renderer.cuda.load_textures_cuda',查看之后发现cuda文件夹中只有load_textures_cuda.cpp和load_textures_cuda_kernel.cu文件,请问这要怎么处理呢。在cmd运行时没有出现这种错误。谢谢~

I also met the same problem. Have you solved it?

yqin98 commented 3 years ago

You can try to run it in Git Bash.

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: juniorliu95 <notifications@github.com> 发送时间: 2020年12月2日 14:52 收件人: ShichenLiu/SoftRas <SoftRas@noreply.github.com> 抄送: yqin98 <1985419290@qq.com>, Author <author@noreply.github.com> 主题: 回复:[ShichenLiu/SoftRas] 调用cpp文件问题 (#64)

M202071895 commented 3 years ago

hi, I run this project on ubuntu(terminal), and I also meet this problem!