-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when importing resample2d_cuda #18
Comments
yes,CUDA10.1 is ok,my python is 3.6.8 ,you can try it.------------------ 原始邮件 ------------------
发件人: "Huiqi"<notifications@github.com>
发送时间: 2019年12月20日(星期五) 下午5:59
收件人: "RenYurui/StructureFlow"<StructureFlow@noreply.github.com>;
抄送: "Subscribed"<subscribed@noreply.github.com>;
主题: [RenYurui/StructureFlow] Error when importing resample2d_cuda (#18)
I have followed the instruction to build Gaussian Sampling CUDA package:
cd ./StructureFlow/resample2d_package
python setup.py install --user
However, I get below error:
File "/data/huiqi/StructureFlow/src/resample2d.py", line 4, in
import resample2d_cuda
ImportError: /ldap_home/huiqi.mao/.local/lib/python3.7/site-packages/resample2d_cuda-0.0.0-py3.7-linux-x86_64.egg/resample2d_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E
CUDA: 10.1 (which is something I cannot change on the server and I doubt this may be the cause, but I am not sure)
Pytorch: 1.0.1
Python: 3.7
Could anyone give me some advice? Or anyone has tried it successfully on CUDA 10.1?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm not particularly sure about the reason for this problem. But here is some information which may be useful. |
Thank you for your reply. |
I met similar problem. I found that the Pytorch version must be 1.0.0 in the compiling. In the first, I used version 1.0.1 and the problem happened. Then I used 1.0.0 to compile, the problem disappeared. The resulting package can also be used in 1.0.1. |
I have followed the instruction to build Gaussian Sampling CUDA package:
However, I get below error:
My environment:
Could anyone give me some advice? Or anyone has tried it successfully on CUDA 10.1?
The text was updated successfully, but these errors were encountered: