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

Can't install spatial_correlation_sampler properly #8

Open
Leo0408 opened this issue Sep 18, 2023 · 1 comment
Open

Can't install spatial_correlation_sampler properly #8

Leo0408 opened this issue Sep 18, 2023 · 1 comment

Comments

@Leo0408
Copy link

Leo0408 commented Sep 18, 2023

I run FollowingAnything on CUDA 10.1. But when I install spatial_correlation_sampler by using setup.py in the Pytorch-Correlation-extension package it says
File "/home/nickbit_asus/anaconda3/envs/follow_anything/lib/python3.9/site-packages/spatial_correlation_sampler-0.4.0-py3.9-linux-x86_64.egg/spatial_correlation_sampler/__init__.py", line 1, in <module> from .spatial_correlation_sampler import SpatialCorrelationSampler, spatial_correlation_sample File "/home/nickbit_asus/anaconda3/envs/follow_anything/lib/python3.9/site-packages/spatial_correlation_sampler-0.4.0-py3.9-linux-x86_64.egg/spatial_correlation_sampler/spatial_correlation_sampler.py", line 6, in <module> import spatial_correlation_sampler_backend as correlation ImportError: /home/nickbit_asus/anaconda3/envs/follow_anything/lib/python3.9/site-packages/spatial_correlation_sampler-0.4.0-py3.9-linux-x86_64.egg/spatial_correlation_sampler_backend.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNK3c106IValue23reportToTensorTypeErrorEv

And the intall error also happens when I use "pip install", reporting the CUDA version is too low (<11.7), while CUDA version above 11 may generates other CUDA version as well.

Do you have any idea where the problem is and how it can be solved?

By the way, I am very willing to run FollowingAnything on Google Colab. Have you create a Google Colab notebook that can perform object tracking on videos?

Thank you!

@Leo0408
Copy link
Author

Leo0408 commented Sep 18, 2023

We are using NVIDIA's 40 series GPU, and the appropriate corresponding CUDA version is at least 11.7. However, we encounted this ImportError: "libcudart.so.10.1: cannot open shared object file: No such file or directory." , We had to downgrade the CUDA version to 10.1, and then we encountered the error mentioned above. We hope that this detail can be helpful in addressing the issue.

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

1 participant