Skip to content
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

ImportError att_grid_generator_cuda error #11

Open
guofeng12sigma opened this issue Oct 18, 2019 · 8 comments
Open

ImportError att_grid_generator_cuda error #11

guofeng12sigma opened this issue Oct 18, 2019 · 8 comments

Comments

@guofeng12sigma
Copy link

Hi authors, it's a nice work. I follow the instruction and correct setup the pytorch code. But when i import att_grid_generator_cuda, problem occurred. "ImportError: anaconda3/lib/python3.6/site-packages/att_grid_generator-0.0.0-py3.6-linux-x86_64.egg/att_grid_generator_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c1011CPUTensorIdEv" Can you help me fix this problem? Thanks.

@vb123er951
Copy link

@guofeng12sigma Hi, how did you setup code correctly? what version of CUDA, pytorch, c++ compiler you use? I was stuck in setup_att.py...
Thanks.

@Aminkhormali
Copy link

@guofeng12sigma @vb123er951 Hello, were you able to fix this issue? I am facing the same problem. @Heliang-Zheng it would be great if you can help with this issue.
Thanks!

@vb123er951
Copy link

Hi @Aminkhormali , have you try the corresponding version of pytorch and torchvision? I am using pytorch 1.0.0 and torchvision 0.2.1.

@haidog-yaqub
Copy link

I was stuck here too, im tryna fix the cpp and cu code to fit pytorch 1.7, however, it didnt work (by replacing AT_CHECK with TORCH_CHECK), so it means that I have to use a lower version of pytorch?

@haidog-yaqub
Copy link

I was stuck here too, im tryna fix the cpp and cu code to fit pytorch 1.7, however, it didnt work (by replacing AT_CHECK with TORCH_CHECK), so it means that I have to use a lower version of pytorch?

i will be so glad if you can get me out

@vb123er951
Copy link

Hi @haidog-yaqub , maybe this is an issue of the pytorch installation not being able to find/link to CUDA shared libraries, can your pytorch program use CUDA correctly?

@haidog-yaqub
Copy link

Hi @haidog-yaqub , maybe this is an issue of the pytorch installation not being able to find/link to CUDA shared libraries, can your pytorch program use CUDA correctly?

it actually works, I think i just cant install the "setup_att.py" correctly. there are tons of issues, but after solving those bugs, I can't get .obj files anymore (c++ also works well ). maybe I could try it on linux, thanks!

@WindVChen
Copy link

WindVChen commented Nov 29, 2021

@vb123er951 @guofeng12sigma @haidog-yaqub @Aminkhormali
Hi guys, I think I have figured out how to run the setup.py. You maybe interested to read that here #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants