DerrickXuNu / OpenCOOD

[ICRA 2022] An opensource framework for cooperative detection. Official implementation for OPV2V.
https://mobility-lab.seas.ucla.edu/opv2v/
Other
663 stars 99 forks source link

Installation Spconv1.2.1 #20

Closed CatOneTwo closed 2 years ago

CatOneTwo commented 2 years ago

Hi, the installation needs Spconv 1.2.1, but the website you provided (https://github.com/traveller59/spconv/tree/v1.2.1) only supports the spconv 2.1.21 now, it has discarded the spconv 1.2.1 . I have followed the instructions in v1.2.1, but the installed spconv is still 2.1.21.

With spconv 2.1.21, the code cannot run. So could you please provide spconv 1.2.1 wheel, thank you!

DerrickXuNu commented 2 years ago

Check their 1.2.1 branch please.

https://github.com/traveller59/spconv/tree/v1.2.1

CatOneTwo commented 2 years ago

Well, I have followed the instruction in 1.2.1 branch. So, do I need to git checkout v1.2.1? When I run the script in the master branch, the version of spconv is 2.1.21, when I run the script in the v1.2.1, the error occurs

subprocess.CalledProcessError: Command '['cmake', '/home/hys/projects/spconv', '-DCMAKE_PREFIX_PATH=/home/hys/anaconda3/envs/spconv/lib/python3.8/site-packages/torch', '-DPYBIND11_PYTHON_VERSION=3.8', '-DSPCONV_BuildTests=OFF', '-DPYTORCH_VERSION=10901', '-DCMAKE_CUDA_FLAGS="--expt-relaxed-constexpr" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/hys/projects/spconv/build/lib.linux-x86_64-3.8/spconv', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.

DerrickXuNu commented 2 years ago

Yes you need to checkout to that branch