DeepInteraction
DeepInteraction copied to clipboard
Cannot compile mmdection3d==017.1
Dear authors, thank you for your great work. I wanted to use your network in the nuscenes dataset. However, I struggle with the installation process. I am trying to work in a docker container. I used the following dockerfile: FROM nvidia/cuda:11.3.1-devel-ubuntu20.04
RUN apt-get update && apt-get install wget -yq RUN apt-get install build-essential g++ gcc -y ENV DEBIAN_FRONTEND noninteractive RUN apt-get install libgl1-mesa-glx libglib2.0-0 -y RUN apt-get install openmpi-bin openmpi-common libopenmpi-dev libgtk2.0-dev git -y
#Install miniconda
ENV CONDA_DIR /opt/conda
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh &&
/bin/bash ~/miniconda.sh -b -p /opt/conda
#Put conda in path so we can use conda activate
ENV PATH=$CONDA_DIR/bin:$PATH
RUN conda install python=3.7
RUN conda install pytorch==1.9.1 torchvision torchaudio cudatoolkit=11.3 -c pytorch
RUN pip install tqdm
RUN pip install torchpack
RUN pip install -U openmim
RUN mim install mmcv-full==1.3.18
RUN pip install mmdet==2.14.0 mmsegmentation==0.14.1
RUN git clone https://github.com/open-mmlab/mmdetection3d.git &&
cd mmdetection3d &&
git checkout v0.17.1 &&
pip install -v -e .
#Install Detectron2
RUN pip3 install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.9/index.html
#Clone DeepInteraction
RUN git clone https://github.com/fudan-zvg/DeepInteraction.git &&
cd DeepInteraction
However, when with the pip install -v -e . on git checkout v0.17.1 I get the following error:
#17 48.09 exec(compile(setup_py_code, filename, "exec"))
#17 48.09 '"'"''"'"''"'"' % ('"'"'/mmdetection3d/setup.py'"'"',), "
Does anybody know how to solve this? Thanks in advance
#17 48.09 exec(compile(setup_py_code, filename, "exec"))
#17 48.09 '"'"''"'"''"'"' % ('"'"'/mmdetection3d/setup.py'"'"',), "", "exec"))' develop --no-deps
#17 48.09 cwd: /mmdetection3d/
#17 48.09 error: subprocess-exited-with-error
#17 48.09
#17 48.09 × python setup.py develop did not run successfully.
#17 48.09 │ exit code: 1
#17 48.09 ╰─> See above for output.
#17 48.09
#17 48.09 note: This error originates from a subprocess, and is likely not a problem with pip.
It is a little difficult for me to diagnose the exact cause of your errors based only on the above information, because I have not encountered similar problems. Perhaps you could seek advice in the official repository of mmdet3d, where people might be more experienced with problems in mmdet3d installation.