Pytorch-Correlation-extension
Pytorch-Correlation-extension copied to clipboard
Weird import error
Hi, i'm using this package as a dependency for the STNNet density map estimation model. It was working fine yesterday, but today it's failing. I'm working in google colab, and tried reinstalling with the following commands: !pip install spatial-correlation-sampler --no-cache-dir !pip install spatial-correlation-sampler --no-build-isolation
My torch install details: Name: torch Version: 2.6.0+cu124 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration Home-page: https://pytorch.org/ Author: PyTorch Team Author-email: [email protected] License: BSD-3-Clause Location: /usr/local/lib/python3.11/dist-packages
i don't even understand what the issue here is or what is causing it - would appreciate help!
ImportError Traceback (most recent call last)
2 frames
/content/gdrive/MyDrive/DroneCrowd-implementation/STNNet/stnmodel.py in
/usr/local/lib/python3.11/dist-packages/spatial_correlation_sampler/init.py in
/usr/local/lib/python3.11/dist-packages/spatial_correlation_sampler/spatial_correlation_sampler.py in
ImportError: /usr/local/lib/python3.11/dist-packages/spatial_correlation_sampler_backend.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE