SoftRas icon indicating copy to clipboard operation
SoftRas copied to clipboard

调用cpp文件问题

Open yqin98 opened this issue 4 years ago • 5 comments

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

yqin98 avatar Oct 26 '20 12:10 yqin98

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

ShichenLiu avatar Oct 27 '20 03:10 ShichenLiu

Thanks, I’ll try it~

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Shichen Liu <[email protected]> 发送时间: 2020年10月27日 11:27 收件人: ShichenLiu/SoftRas <[email protected]> 抄送: yqin98 <[email protected]>, Author <[email protected]> 主题: 回复:[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.

yqin98 avatar Oct 27 '20 03:10 yqin98

你好,在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?

juniorliu95 avatar Dec 02 '20 06:12 juniorliu95

You can try to run it in Git Bash.

发自我的iPhone

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

yqin98 avatar Dec 02 '20 06:12 yqin98

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

M202071895 avatar Apr 18 '21 09:04 M202071895