V2AI / Det3D

World's first general purpose 3D object detection codebse.
https://arxiv.org/abs/1908.09492
Apache License 2.0
1.48k stars 299 forks source link

Installation Issue #171

Open holestine opened 1 year ago

holestine commented 1 year ago

Hello, I'm trying to get the SSD repo (https://github.com/Vegeta2020/SE-SSD) working which depends on yours but has some slightly different dependency requirements. I've set up a system from scratch several times trying to Install Det3D but keep running into issues and I'm not sure how to debug from here. These are the instructions I'm using to setup the environment.

Install and Update Ubuntu 18.04 (On Windows can use Rufus to create a bootable flashdrive) Software Updater Restart

Install Development Tools Code (Optional) https://code.visualstudio.com/download sudo dpkg -i xxx.deb Git sudo apt --yes install git CMake sudo snap install cmake --classic Conda https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html bash Miniconda3-py39_4.12.0-Linux-x86_64.sh conda update conda

Install Graphics Driver sudo ubuntu-drivers autoinstall sudo shutdown -r now nvidia-smi

Create Virtual Environment (pycocotools did not install on Python 3.6.5) git clone https://github.com/Vegeta2020/SE-SSD.git && cd SE-SSD conda create --yes --name SE-SSD python==3.7 conda activate SE-SSD conda install --yes pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.1 cudnn -c pytorch sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update conda install --yes cuda -c nvidia pip install -r requirements.txt

Install nuscenes-devkit pip install nuscenes-devkit

Install ifp-sample git clone https://github.com/jackd/ifp-sample.git pip install -e ifp-sample

Install spconv git clone https://github.com/poodarchu/spconv --recursive && cd spconv sudo apt-get install libboost-all-dev conda install libboost python setup.py bdist_wheel

At this point I get the output in the attached file, seems related to boost but I'm not sure. I've searched through the issues and it seems like others may be experiencing similar problems although I didn't see any descriptions on how to reproduce them so hopefully many of them can be addressed here. Cheers.

output.txt