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

Error building MSMDFusion Dockerfile #34

Closed
proggheli opened this issue Feb 12, 2024 · 12 comments
Closed

Error building MSMDFusion Dockerfile #34

proggheli opened this issue Feb 12, 2024 · 12 comments

Comments

@proggheli
Copy link

proggheli commented Feb 12, 2024

Describe the bug
Hi I was wondering if someone else had issues when building the docker, I get compatibility issues.

Reproduction

  1. What command or script did you run?
(base) henrik@henrik-XPS-15-9510:~/mmdetection/mmdetection3d/MSMDFusion/docker$ docker build -t msmd .

  1. Did you make any modifications on the code or config? Did you understand what you have modified?
    Yes I modified the MSMDFusion docker file. Added the follwoing in row 11 to fix earlier errors. I also specified mmcv-full to be 1.3.0 see below.

To fix GPG key error when running apt-get update

RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
---------------------------------------------------Now the docker file looks like this-------------------------------------------------------------------

ARG PYTORCH="1.6.0"
ARG CUDA="10.1"
ARG CUDNN="7"

FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

### To fix GPG key error when running apt-get update
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Install MMCV
RUN pip install mmcv-full==1.3.0
RUN pip install mmdet

# Install MMDetection
RUN conda clean --all
RUN git clone https://github.com/open-mmlab/mmdetection3d.git /mmdetection3d
WORKDIR /mmdetection3d
ENV FORCE_CUDA="1"
RUN pip install -r requirements/build.txt
RUN pip install --no-cache-dir -e .

# uninstall pycocotools installed by nuscenes-devkit and reinstall mmpycocotools
RUN pip uninstall pycocotools --no-cache-dir -y
RUN pip install mmpycocotools --no-cache-dir --force --no-deps
  1. What dataset did you use?

I downloaded the nuscenes dataset.

  1. Please run python mmdet3d/utils/collect_env.py to collect necessary environment infomation and paste it here:
    (open-mmlab) henrik@henrik-XPS-15-9510:/mmdetection/mmdetection3d/mmdet3d/utils$ python collect_env.py
    sys.platform: linux
    Python: 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]
    CUDA available: True
    MUSA available: False
    numpy_random_seed: 2147483648
    GPU 0: NVIDIA GeForce RTX 3050 Ti Laptop GPU
    CUDA_HOME: /home/henrik/miniconda3/envs/open-mmlab
    NVCC: Cuda compilation tools, release 11.5, V11.5.119
    GCC: gcc (Ubuntu 11.4.0-1ubuntu1
    22.04) 11.4.0
    PyTorch: 2.0.0
    PyTorch compiling details: PyTorch built with:
  • GCC 9.3
  • C++ Version: 201703
  • Intel(R) oneAPI Math Kernel Library Version 2023.1-Product Build 20230303 for Intel(R) 64 architecture applications
  • Intel(R) MKL-DNN v2.7.3 (Git Hash 6dbeffbae1f23cbbeae17adb7b5b13f1f37c080e)
  • OpenMP 201511 (a.k.a. OpenMP 4.5)
  • LAPACK is enabled (usually provided by MKL)
  • NNPACK is enabled
  • CPU capability usage: AVX2
  • CUDA Runtime 11.8
  • NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_37,code=compute_37
  • CuDNN 8.7
  • Magma 2.6.1
  • Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.8, CUDNN_VERSION=8.7.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -D_GLIBCXX_USE_CXX11_ABI=0 -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_DISABLE_GPU_ASSERTS=ON, TORCH_VERSION=2.0.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.15.0
OpenCV: 4.9.0
MMEngine: 0.10.3
MMDetection: 3.3.0
MMDetection3D: 1.4.0+fe25f7a
spconv2.0: False
3. You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source]
- Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.

base) henrik@henrik-XPS-15-9510:~/mmdetection/mmdetection3d/MSMDFusion/docker$ docker build -t msmd .
[+] Building 92.3s (14/16)                                                                                                                                                                   docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 1.29kB                                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel                                                                                                                 0.9s
 => [internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => [ 1/13] FROM docker.io/pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel@sha256:ccebb46f954b1d32a4700aaeae0e24bd68653f92c6f276a608bf592b660b63d7                                                         0.0s
 => CACHED [ 2/13] RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub                                                                0.0s
 => CACHED [ 3/13] RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub                                                    0.0s
 => CACHED [ 4/13] RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6     && apt-get clean     && rm -rf /var/lib/apt/lists/  0.0s
 => CACHED [ 5/13] RUN pip install mmcv-full==1.3.0                                                                                                                                                    0.0s
 => CACHED [ 6/13] RUN pip install mmdet                                                                                                                                                               0.0s
 => CACHED [ 7/13] RUN conda clean --all                                                                                                                                                               0.0s
 => CACHED [ 8/13] RUN git clone https://github.com/open-mmlab/mmdetection3d.git /mmdetection3d                                                                                                        0.0s
 => CACHED [ 9/13] WORKDIR /mmdetection3d                                                                                                                                                              0.0s
 => CACHED [10/13] RUN pip install -r requirements/build.txt                                                                                                                                           0.0s
 => ERROR [11/13] RUN pip install --no-cache-dir -e .                                                                                                                                                 91.4s
------                                                                                                                                                                                                      
 > [11/13] RUN pip install --no-cache-dir -e .:                                                                                                                                                             
0.568 Obtaining file:///mmdetection3d                                                                                                                                                                       
1.645 Collecting lyft_dataset_sdk                                                                                                                                                                           
1.719   Downloading lyft_dataset_sdk-0.0.8-py2.py3-none-any.whl (32 kB)                                                                                                                                     
1.794 Collecting networkx>=2.5                                                                                                                                                                              
1.814   Downloading networkx-2.6.3-py3-none-any.whl (1.9 MB)
2.378 Collecting numba
2.395   Downloading numba-0.56.4-cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.5 MB)
2.891 Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from mmdet3d==1.4.0) (1.18.5)
2.931 Collecting nuscenes-devkit
2.949   Downloading nuscenes_devkit-1.1.11-py3-none-any.whl (313 kB)
4.186 Collecting open3d
3.327   Downloading open3d-0.13.0-cp37-cp37m-manylinux2014_x86_64.whl (300.6 MB)
44.41 Collecting plyfile
44.43   Downloading plyfile-0.9-py3-none-any.whl (30 kB)
44.56 Collecting scikit-image
44.58   Downloading scikit_image-0.19.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (13.5 MB)
45.93 Collecting tensorboard
45.95   Downloading tensorboard-2.11.2-py3-none-any.whl (6.0 MB)
46.82 Collecting trimesh
46.83   Downloading trimesh-4.1.3-py3-none-any.whl (690 kB)
46.98 Collecting cachetools>=3.1.0
46.99   Downloading cachetools-5.3.2-py3-none-any.whl (9.3 kB)
47.00 Requirement already satisfied: opencv-python>=3.4.2.17 in /opt/conda/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==1.4.0) (4.9.0.80)
47.26 Collecting pandas
47.29   Downloading pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB)
48.60 Collecting black
48.62   Downloading black-23.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
48.86 Collecting flake8
48.87   Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB)
48.97 Collecting pytest
48.99   Downloading pytest-7.4.4-py3-none-any.whl (325 kB)
49.12 Collecting plotly
49.14   Downloading plotly-5.18.0-py3-none-any.whl (15.6 MB)
51.57 Collecting pyquaternion>=0.9.5
51.59   Downloading pyquaternion-0.9.9-py3-none-any.whl (14 kB)
51.61 Requirement already satisfied: Pillow>=5.2.0 in /opt/conda/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==1.4.0) (7.2.0)
51.62 Requirement already satisfied: matplotlib in /opt/conda/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==1.4.0) (3.5.3)
51.78 Collecting scikit-learn>=0.19.2
51.79   Downloading scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.8 MB)
54.80 Requirement already satisfied: Shapely>=1.6.4.post2 in /opt/conda/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==1.4.0) (2.0.2)
54.84 Collecting fire
54.86   Downloading fire-0.5.0.tar.gz (88 kB)
55.05 Requirement already satisfied: scipy>=1.1.0 in /opt/conda/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==1.4.0) (1.7.3)
55.05 Requirement already satisfied: tqdm>=4.25.0 in /opt/conda/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==1.4.0) (4.46.0)
55.06 Requirement already satisfied: importlib-metadata; python_version < "3.9" in /opt/conda/lib/python3.7/site-packages (from numba->mmdet3d==1.4.0) (6.7.0)
55.18 Collecting llvmlite<0.40,>=0.39.0dev0
55.20   Downloading llvmlite-0.39.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.6 MB)
59.10 Requirement already satisfied: setuptools in /opt/conda/lib/python3.7/site-packages (from numba->mmdet3d==1.4.0) (46.4.0.post20200518)
59.10 Requirement already satisfied: pycocotools>=2.0.1 in /opt/conda/lib/python3.7/site-packages (from nuscenes-devkit->mmdet3d==1.4.0) (2.0.7)
59.17 Collecting descartes
59.19   Downloading descartes-1.1.0-py3-none-any.whl (5.8 kB)
59.26 Collecting ipywidgets>=7.6.0
59.27   Downloading ipywidgets-8.1.2-py3-none-any.whl (139 kB)
59.46 Collecting jupyter-packaging~=0.10
59.48   Downloading jupyter_packaging-0.12.3-py3-none-any.whl (15 kB)
59.53 Collecting pygments>=2.7.4
59.54   Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
59.74 Collecting wheel>=0.36.0
59.75   Downloading wheel-0.42.0-py3-none-any.whl (65 kB)
59.85 Collecting pyyaml>=5.4.1
59.86   Downloading PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (670 kB)
60.17 Collecting jupyterlab==3.*,>=3.0.0
60.19   Downloading jupyterlab-3.6.7-py3-none-any.whl (8.9 MB)
61.38 Requirement already satisfied: addict in /opt/conda/lib/python3.7/site-packages (from open3d->mmdet3d==1.4.0) (2.4.0)
61.44 Collecting imageio>=2.4.1
61.45   Downloading imageio-2.31.2-py3-none-any.whl (313 kB)
61.59 Collecting tifffile>=2019.7.26
61.60   Downloading tifffile-2021.11.2-py3-none-any.whl (178 kB)
61.71 Collecting PyWavelets>=1.1.1
61.74   Downloading PyWavelets-1.3.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.4 MB)
62.46 Requirement already satisfied: packaging>=20.0 in /opt/conda/lib/python3.7/site-packages (from scikit-image->mmdet3d==1.4.0) (23.2)
63.30 Collecting grpcio>=1.24.3
63.33   Downloading grpcio-1.60.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB)
64.03 Collecting tensorboard-plugin-wit>=1.6.0
64.05   Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
64.19 Collecting absl-py>=0.4
64.20   Downloading absl_py-2.1.0-py3-none-any.whl (133 kB)
64.34 Collecting google-auth<3,>=1.6.3
64.35   Downloading google_auth-2.27.0-py2.py3-none-any.whl (186 kB)
64.43 Collecting markdown>=2.6.8
64.44   Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)
64.49 Collecting tensorboard-data-server<0.7.0,>=0.6.0
64.50   Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
65.35 Collecting protobuf<4,>=3.9.2
65.37   Downloading protobuf-3.20.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
65.54 Collecting werkzeug>=1.0.1
65.57   Downloading Werkzeug-2.2.3-py3-none-any.whl (233 kB)
65.60 Requirement already satisfied: requests<3,>=2.21.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard->mmdet3d==1.4.0) (2.23.0)
65.65 Collecting google-auth-oauthlib<0.5,>=0.4.1
65.67   Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
65.68 Requirement already satisfied: python-dateutil>=2.7.3 in /opt/conda/lib/python3.7/site-packages (from pandas->lyft_dataset_sdk->mmdet3d==1.4.0) (2.8.2)
65.68 Requirement already satisfied: pytz>=2017.3 in /opt/conda/lib/python3.7/site-packages (from pandas->lyft_dataset_sdk->mmdet3d==1.4.0) (2020.1)
65.76 Collecting typed-ast>=1.4.2; python_version < "3.8" and implementation_name == "cpython"
65.78   Downloading typed_ast-1.5.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (778 kB)
65.91 Requirement already satisfied: typing-extensions>=3.10.0.0; python_version < "3.10" in /opt/conda/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==1.4.0) (4.7.1)
65.94 Collecting pathspec>=0.9.0
65.96   Downloading pathspec-0.11.2-py3-none-any.whl (29 kB)
65.99 Collecting mypy-extensions>=0.4.3
66.01   Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
66.05 Collecting click>=8.0.0
66.07   Downloading click-8.1.7-py3-none-any.whl (97 kB)
66.09 Requirement already satisfied: tomli>=1.1.0; python_version < "3.11" in /opt/conda/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==1.4.0) (2.0.1)
66.11 Requirement already satisfied: platformdirs>=2 in /opt/conda/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==1.4.0) (4.0.0)
66.13 Collecting pyflakes<2.6.0,>=2.5.0
66.15   Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)
66.19 Collecting pycodestyle<2.10.0,>=2.9.0
66.20   Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
66.24 Collecting mccabe<0.8.0,>=0.7.0
66.26   Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
66.30 Collecting exceptiongroup>=1.0.0rc8; python_version < "3.11"
66.32   Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
66.35 Collecting pluggy<2.0,>=0.12
66.36   Downloading pluggy-1.2.0-py3-none-any.whl (17 kB)
66.40 Collecting iniconfig
66.41   Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
66.45 Collecting tenacity>=6.2.0
66.46   Downloading tenacity-8.2.3-py3-none-any.whl (24 kB)
66.47 Requirement already satisfied: fonttools>=4.22.0 in /opt/conda/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==1.4.0) (4.38.0)
66.49 Requirement already satisfied: pyparsing>=2.2.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==1.4.0) (3.1.1)
66.50 Requirement already satisfied: kiwisolver>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==1.4.0) (1.4.5)
66.50 Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==1.4.0) (0.11.0)
66.54 Collecting joblib>=0.11
66.56   Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
66.63 Collecting threadpoolctl>=2.0.0
66.64   Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
66.65 Requirement already satisfied: six in /opt/conda/lib/python3.7/site-packages (from fire->lyft_dataset_sdk->mmdet3d==1.4.0) (1.14.0)
66.68 Collecting termcolor
66.70   Downloading termcolor-2.3.0-py3-none-any.whl (6.9 kB)
66.71 Requirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.9"->numba->mmdet3d==1.4.0) (3.15.0)
66.72 Requirement already satisfied: traitlets>=4.3.1 in /opt/conda/lib/python3.7/site-packages (from ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (4.3.3)
66.73 Requirement already satisfied: ipython>=6.1.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (7.16.1)
66.76 Collecting comm>=0.1.3
66.77   Downloading comm-0.1.4-py3-none-any.whl (6.6 kB)
66.84 Collecting widgetsnbextension~=4.0.10
66.86   Downloading widgetsnbextension-4.0.10-py3-none-any.whl (2.3 MB)
67.20 Collecting jupyterlab-widgets~=3.0.10
67.22   Downloading jupyterlab_widgets-3.0.10-py3-none-any.whl (215 kB)
67.30 Collecting tomlkit
67.32   Downloading tomlkit-0.12.3-py3-none-any.whl (37 kB)
67.35 Collecting deprecation
67.37   Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
67.42 Collecting jupyter-core
67.43   Downloading jupyter_core-4.12.0-py3-none-any.whl (89 kB)
67.60 Collecting jupyter-ydoc~=0.2.4
67.61   Downloading jupyter_ydoc-0.2.5-py3-none-any.whl (6.2 kB)
67.68 Collecting jupyterlab-server~=2.19
67.70   Downloading jupyterlab_server-2.24.0-py3-none-any.whl (57 kB)
67.85 Collecting jupyter-server-ydoc~=0.8.0
67.87   Downloading jupyter_server_ydoc-0.8.0-py3-none-any.whl (11 kB)
67.97 Collecting jupyter-server<3,>=1.16.0
67.98   Downloading jupyter_server-1.24.0-py3-none-any.whl (347 kB)
68.13 Collecting notebook<7
68.14   Downloading notebook-6.5.6-py3-none-any.whl (529 kB)
68.41 Collecting nbclassic
68.42   Downloading nbclassic-1.0.0-py3-none-any.whl (10.0 MB)
69.72 Requirement already satisfied: jinja2>=2.1 in /opt/conda/lib/python3.7/site-packages (from jupyterlab==3.*,>=3.0.0->open3d->mmdet3d==1.4.0) (2.11.2)
69.82 Collecting tornado>=6.1.0
69.84   Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
69.95 Collecting rsa<5,>=3.1.4
69.96   Downloading rsa-4.9-py3-none-any.whl (34 kB)
70.02 Collecting pyasn1-modules>=0.2.1
70.03   Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
70.19 Collecting MarkupSafe>=2.1.1
70.21   Downloading MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
70.21 Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==1.4.0) (1.25.8)
70.23 Requirement already satisfied: idna<3,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==1.4.0) (2.9)
70.23 Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==1.4.0) (2020.6.20)
70.23 Requirement already satisfied: chardet<4,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==1.4.0) (3.0.4)
70.25 Collecting requests-oauthlib>=0.7.0
70.27   Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
70.29 Requirement already satisfied: ipython-genutils in /opt/conda/lib/python3.7/site-packages (from traitlets>=4.3.1->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.2.0)
70.29 Requirement already satisfied: decorator in /opt/conda/lib/python3.7/site-packages (from traitlets>=4.3.1->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (4.4.2)
70.29 Requirement already satisfied: pexpect; sys_platform != "win32" in /opt/conda/lib/python3.7/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (4.8.0)
70.29 Requirement already satisfied: pickleshare in /opt/conda/lib/python3.7/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.7.5)
70.29 Requirement already satisfied: backcall in /opt/conda/lib/python3.7/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.2.0)
70.29 Requirement already satisfied: jedi>=0.10 in /opt/conda/lib/python3.7/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.17.1)
70.30 Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /opt/conda/lib/python3.7/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (3.0.5)
70.50 Collecting y-py<0.7.0,>=0.6.0
70.52   Downloading y_py-0.6.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
70.81 Collecting jsonschema>=4.17.3
70.83   Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
70.89 Collecting json5>=0.9.0
70.91   Downloading json5-0.9.14-py2.py3-none-any.whl (19 kB)
70.94 Collecting babel>=2.10
70.96   Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB)
72.44 Collecting ypy-websocket<0.9.0,>=0.8.2
72.45   Downloading ypy_websocket-0.8.4-py3-none-any.whl (10 kB)
72.59 Collecting jupyter-server-fileid<1,>=0.6.0
72.60   Downloading jupyter_server_fileid-0.9.1-py3-none-any.whl (16 kB)
72.66 Collecting argon2-cffi
72.68   Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
72.73 Collecting websocket-client
72.75   Downloading websocket_client-1.6.1-py3-none-any.whl (56 kB)
72.81 Collecting jupyter-client>=6.1.12
72.83   Downloading jupyter_client-7.4.9-py3-none-any.whl (133 kB)
72.91 Collecting terminado>=0.8.3
72.92   Downloading terminado-0.17.1-py3-none-any.whl (17 kB)
72.96 Collecting nbformat>=5.2.0
72.98   Downloading nbformat-5.8.0-py3-none-any.whl (77 kB)
73.38 Collecting pyzmq>=17
73.41   Downloading pyzmq-25.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB)
73.61 Collecting Send2Trash
73.63   Downloading Send2Trash-1.8.2-py3-none-any.whl (18 kB)
73.68 Collecting prometheus-client
73.69   Downloading prometheus_client-0.17.1-py3-none-any.whl (60 kB)
73.76 Collecting nbconvert>=6.4.4
73.78   Downloading nbconvert-7.6.0-py3-none-any.whl (290 kB)
73.89 Collecting anyio<4,>=3.1.0
73.90   Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
73.99 Collecting ipykernel
74.01   Downloading ipykernel-6.16.2-py3-none-any.whl (138 kB)
74.08 Collecting nest-asyncio>=1.5
74.09   Downloading nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB)
74.11 Collecting notebook-shim>=0.2.3
74.13   Downloading notebook_shim-0.2.3-py3-none-any.whl (13 kB)
74.21 Collecting pyasn1>=0.1.3
74.22   Downloading pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
74.26 Collecting oauthlib>=3.0.0
74.28   Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
74.33 Requirement already satisfied: ptyprocess>=0.5 in /opt/conda/lib/python3.7/site-packages (from pexpect; sys_platform != "win32"->ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.6.0)
74.33 Requirement already satisfied: parso<0.8.0,>=0.7.0 in /opt/conda/lib/python3.7/site-packages (from jedi>=0.10->ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.7.0)
74.33 Requirement already satisfied: wcwidth in /opt/conda/lib/python3.7/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=6.1.0->ipywidgets>=7.6.0->open3d->mmdet3d==1.4.0) (0.2.5)
74.38 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
74.39   Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB)
74.45 Collecting importlib-resources>=1.4.0; python_version < "3.9"
74.47   Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB)
74.51 Collecting pkgutil-resolve-name>=1.3.10; python_version < "3.9"
74.53   Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
74.56 Collecting attrs>=17.4.0
74.57   Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
74.73 Collecting aiosqlite<1,>=0.17.0
74.74   Downloading aiosqlite-0.19.0-py3-none-any.whl (15 kB)
74.80 Collecting aiofiles<23,>=22.1.0
74.81   Downloading aiofiles-22.1.0-py3-none-any.whl (14 kB)
74.85 Collecting jupyter-events>=0.5.0
74.86   Downloading jupyter_events-0.6.3-py3-none-any.whl (18 kB)
74.90 Collecting argon2-cffi-bindings
74.91   Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB)
74.94 Collecting entrypoints
74.96   Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
74.99 Collecting fastjsonschema
75.00   Downloading fastjsonschema-2.19.1-py3-none-any.whl (23 kB)
75.05 Collecting nbclient>=0.5.0
75.06   Downloading nbclient-0.7.4-py3-none-any.whl (73 kB)
75.13 Collecting tinycss2
75.14   Downloading tinycss2-1.2.1-py3-none-any.whl (21 kB)
75.19 Collecting bleach!=5.0.0
75.21   Downloading bleach-6.0.0-py3-none-any.whl (162 kB)
75.27 Collecting mistune<4,>=2.0.3
75.28   Downloading mistune-3.0.2-py3-none-any.whl (47 kB)
75.31 Collecting defusedxml
75.33   Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
75.36 Collecting pandocfilters>=1.4.1
75.37   Downloading pandocfilters-1.5.1-py2.py3-none-any.whl (8.7 kB)
75.38 Requirement already satisfied: beautifulsoup4 in /opt/conda/lib/python3.7/site-packages (from nbconvert>=6.4.4->jupyter-server<3,>=1.16.0->jupyterlab==3.*,>=3.0.0->open3d->mmdet3d==1.4.0) (4.9.1)
75.41 Collecting jupyterlab-pygments
75.43   Downloading jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
75.46 Collecting sniffio>=1.1
75.47   Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
75.69 Collecting debugpy>=1.0
75.71   Downloading debugpy-1.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
76.07 Requirement already satisfied: psutil in /opt/conda/lib/python3.7/site-packages (from ipykernel->notebook<7->jupyterlab==3.*,>=3.0.0->open3d->mmdet3d==1.4.0) (5.7.0)
76.10 Collecting matplotlib-inline>=0.1
76.12   Downloading matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
76.16 Collecting rfc3986-validator>=0.1.1
76.17   Downloading rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB)
76.20 Collecting python-json-logger>=2.0.4
76.21   Downloading python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
76.24 Collecting rfc3339-validator
76.26   Downloading rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
76.27 Requirement already satisfied: cffi>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server<3,>=1.16.0->jupyterlab==3.*,>=3.0.0->open3d->mmdet3d==1.4.0) (1.14.0)
76.29 Collecting webencodings>=0.4
76.31   Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
76.32 Requirement already satisfied: soupsieve>1.2 in /opt/conda/lib/python3.7/site-packages (from beautifulsoup4->nbconvert>=6.4.4->jupyter-server<3,>=1.16.0->jupyterlab==3.*,>=3.0.0->open3d->mmdet3d==1.4.0) (2.0.1)
76.32 Requirement already satisfied: pycparser in /opt/conda/lib/python3.7/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server<3,>=1.16.0->jupyterlab==3.*,>=3.0.0->open3d->mmdet3d==1.4.0) (2.20)
76.32 Building wheels for collected packages: fire
76.32   Building wheel for fire (setup.py): started
76.48   Building wheel for fire (setup.py): finished with status 'done'
76.48   Created wheel for fire: filename=fire-0.5.0-py2.py3-none-any.whl size=116936 sha256=e71e38260e683cd2f241967c10362ed41096b703538c8eacc1df9483d439ca26
76.48   Stored in directory: /tmp/pip-ephem-wheel-cache-3gf77sm_/wheels/20/97/e1/dd2c472bebcdcaa85fdc07d0f19020299f1c86773028860c53
76.48 Successfully built fire
77.06 ERROR: flake8 5.0.4 has requirement importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you'll have importlib-metadata 6.7.0 which is incompatible.
77.06 ERROR: nuscenes-devkit 1.1.11 has requirement numpy>=1.22.0, but you'll have numpy 1.18.5 which is incompatible.
77.06 ERROR: nuscenes-devkit 1.1.11 has requirement Shapely<2.0.0, but you'll have shapely 2.0.2 which is incompatible.
77.06 ERROR: jupyter-packaging 0.12.3 has requirement setuptools>=60.2.0, but you'll have setuptools 46.4.0.post20200518 which is incompatible.
77.06 ERROR: nbformat 5.8.0 has requirement traitlets>=5.1, but you'll have traitlets 4.3.3 which is incompatible.
77.06 ERROR: nbclient 0.7.4 has requirement traitlets>=5.3, but you'll have traitlets 4.3.3 which is incompatible.
77.06 ERROR: nbconvert 7.6.0 has requirement jinja2>=3.0, but you'll have jinja2 2.11.2 which is incompatible.
77.06 ERROR: nbconvert 7.6.0 has requirement traitlets>=5.1, but you'll have traitlets 4.3.3 which is incompatible.
77.06 ERROR: jupyter-server 1.24.0 has requirement traitlets>=5.1, but you'll have traitlets 4.3.3 which is incompatible.
77.06 ERROR: jupyterlab-server 2.24.0 has requirement jinja2>=3.0.3, but you'll have jinja2 2.11.2 which is incompatible.
77.06 ERROR: jupyterlab-server 2.24.0 has requirement requests>=2.28, but you'll have requests 2.23.0 which is incompatible.
77.06 ERROR: jupyter-events 0.6.3 has requirement traitlets>=5.3, but you'll have traitlets 4.3.3 which is incompatible.
77.06 ERROR: ipykernel 6.16.2 has requirement ipython>=7.23.1, but you'll have ipython 7.16.1 which is incompatible.
77.06 ERROR: ipykernel 6.16.2 has requirement traitlets>=5.1.0, but you'll have traitlets 4.3.3 which is incompatible.
77.06 ERROR: notebook 6.5.6 has requirement pyzmq<25,>=17, but you'll have pyzmq 25.1.2 which is incompatible.
77.06 ERROR: open3d 0.13.0 has requirement pillow>=8.2.0, but you'll have pillow 7.2.0 which is incompatible.
77.06 ERROR: imageio 2.31.2 has requirement pillow>=8.3.2, but you'll have pillow 7.2.0 which is incompatible.
77.06 Installing collected packages: cachetools, pandas, typed-ast, pathspec, mypy-extensions, click, black, pyflakes, pycodestyle, mccabe, flake8, exceptiongroup, pluggy, iniconfig, pytest, tenacity, plotly, pyquaternion, joblib, threadpoolctl, scikit-learn, termcolor, fire, lyft-dataset-sdk, networkx, llvmlite, numba, descartes, nuscenes-devkit, comm, widgetsnbextension, jupyterlab-widgets, ipywidgets, tomlkit, wheel, deprecation, jupyter-packaging, pygments, pyyaml, jupyter-core, y-py, jupyter-ydoc, pyrsistent, importlib-resources, pkgutil-resolve-name, attrs, jsonschema, argon2-cffi-bindings, argon2-cffi, websocket-client, tornado, entrypoints, nest-asyncio, pyzmq, jupyter-client, terminado, fastjsonschema, nbformat, Send2Trash, prometheus-client, nbclient, MarkupSafe, webencodings, tinycss2, bleach, mistune, defusedxml, pandocfilters, jupyterlab-pygments, nbconvert, sniffio, anyio, jupyter-server, json5, babel, jupyterlab-server, aiosqlite, aiofiles, ypy-websocket, rfc3986-validator, python-json-logger, rfc3339-validator, jupyter-events, jupyter-server-fileid, jupyter-server-ydoc, debugpy, matplotlib-inline, ipykernel, notebook-shim, nbclassic, notebook, jupyterlab, open3d, plyfile, imageio, tifffile, PyWavelets, scikit-image, grpcio, tensorboard-plugin-wit, absl-py, pyasn1, rsa, pyasn1-modules, google-auth, markdown, tensorboard-data-server, protobuf, werkzeug, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard, trimesh, mmdet3d
89.48   Attempting uninstall: wheel
89.48     Found existing installation: wheel 0.34.2
89.48     Uninstalling wheel-0.34.2:
89.83       Successfully uninstalled wheel-0.34.2
89.87   Attempting uninstall: pygments
89.87     Found existing installation: Pygments 2.6.1
89.91     Uninstalling Pygments-2.6.1:
90.01       Successfully uninstalled Pygments-2.6.1
90.37   Attempting uninstall: pyyaml
90.37     Found existing installation: PyYAML 5.3.1
90.91 ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
------
Dockerfile:29
--------------------
  27 |     ENV FORCE_CUDA="1"
  28 |     RUN pip install -r requirements/build.txt
  29 | >>> RUN pip install --no-cache-dir -e .
  30 |     
  31 |     # uninstall pycocotools installed by nuscenes-devkit and reinstall mmpycocotools
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -e ." did not complete successfully: exit code: 1

Any help would be appreciated.

@SxJyJay
Copy link
Owner

SxJyJay commented Feb 13, 2024

Actually, we have not tried to install with this docker file. You can refer to getting_started.md and here for installation.

@proggheli
Copy link
Author

proggheli commented Feb 13, 2024

Well I'm having issues with that installation guide as well. Specifically with trying to downloading the same mmdet3d version 0.10.0 as you.

When trying to download mmdet3d with:

mim install mmdet3d==0.10.0

I get the following error message, note is only a piece of my error message.

Requirement already satisfied: fqdn in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.5.1)
Requirement already satisfied: isoduration in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (20.11.0)
Requirement already satisfied: jsonpointer>1.13 in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.4)
Requirement already satisfied: uri-template in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.3.0)
Requirement already satisfied: webcolors>=1.11 in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.13)
Requirement already satisfied: cffi>=1.0.1 in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.16.0)
Requirement already satisfied: pycparser in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.21)
Requirement already satisfied: arrow>=0.15.0 in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.3.0)
Requirement already satisfied: types-python-dateutil>=2.8.10 in /home/henrik/miniconda3/envs/new/lib/python3.8/site-packages (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.8.19.20240106)
Building wheels for collected packages: mmdet3d
  Building wheel for mmdet3d (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [344 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.8
      creating build/lib.linux-x86_64-3.8/mmdet3d
      copying mmdet3d/__init__.py -> build/lib.linux-x86_64-3.8/mmdet3d
      copying mmdet3d/version.py -> build/lib.linux-x86_64-3.8/mmdet3d
      creating build/lib.linux-x86_64-3.8/mmdet3d/utils
      copying mmdet3d/utils/__init__.py -> build/lib.linux-x86_64-3.8/mmdet3d/utils
      copying mmdet3d/utils/collect_env.py -> build/lib.linux-x86_64-3.8/mmdet3d/utils
      creating build/lib.linux-x86_64-3.8/mmdet3d/ops
      copying mmdet3d/ops/__init__.py -> build/lib.linux-x86_64-3.8/mmdet3d/ops
      copying mmdet3d/ops/norm.py -> build/lib.linux-x86_64-3.8/mmdet3d/ops
      copying mmdet3d/ops/sparse_block.py -> build/lib.linux-x86_64-3.8/mmdet3d/ops
……………………………………………………………….
...........................................................................................
........................................................................................
creating /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src
      Emitting ninja build file /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/build.ninja...
      Compiling objects...
      Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
      [1/7] c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/reordering.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering.o
      c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/reordering.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/reordering.cc:15:10: fatal error: spconv/reordering.h: No such file or directory
         15 | #include <spconv/reordering.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      [2/7] c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/indice.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice.o
      c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/indice.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/indice.cc:15:10: fatal error: spconv/geometry.h: No such file or directory
         15 | #include <spconv/geometry.h>
            |          ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      [3/7] c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/maxpool.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool.o
      c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/maxpool.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/maxpool.cc:15:10: fatal error: spconv/maxpool.h: No such file or directory
         15 | #include <spconv/maxpool.h>
            |          ^~~~~~~~~~~~~~~~~~
      compilation terminated.
      [4/7] c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/all.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/all.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/all.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/all.o
      c++ -MMD -MF /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/all.o.d -pthread -B /home/henrik/miniconda3/envs/new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/all.cc -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/all.o -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
      cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/all.cc:16:10: fatal error: spconv/fused_spconv_ops.h: No such file or directory
         16 | #include <spconv/fused_spconv_ops.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      [5/7] /usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/maxpool_cuda.cu -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool_cuda.o
      /usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/maxpool_cuda.cu -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/maxpool_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/maxpool_cuda.cu:16:10: fatal error: spconv/maxpool.h: No such file or directory
         16 | #include <spconv/maxpool.h>
            |          ^~~~~~~~~~~~~~~~~~
      compilation terminated.
      [6/7] /usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/reordering_cuda.cu -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering_cuda.o
      /usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/reordering_cuda.cu -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/reordering_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/reordering_cuda.cu:16:10: fatal error: spconv/mp_helper.h: No such file or directory
         16 | #include <spconv/mp_helper.h>
            |          ^~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      [7/7] /usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/indice_cuda.cu -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
      FAILED: /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice_cuda.o
      /usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/TH -I/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/henrik/miniconda3/envs/new/include/python3.8 -c -c /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/indice_cuda.cu -o /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/build/temp.linux-x86_64-3.8/mmdet3d/ops/spconv/src/indice_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
      /tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/mmdet3d/ops/spconv/src/indice_cuda.cu:16:10: fatal error: spconv/indice.cu.h: No such file or directory
         16 | #include <spconv/indice.cu.h>
            |          ^~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      ninja: build stopped: subcommand failed.
      Traceback (most recent call last):
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1666, in _run_ninja_build
          subprocess.run(
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/subprocess.py", line 516, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
      
      The above exception was the direct cause of the following exception:
      
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-5rt2kofz/mmdet3d_eb03004dff3e4f2e85ec2145985552a7/setup.py", line 139, in <module>
          setup(
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 364, in run
          self.run_command("build")
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 709, in build_extensions
          build_ext.build_extensions(self)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
          _build_ext.build_extension(self, ext)
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
          objects = self.compiler.compile(sources,
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 530, in unix_wrap_ninja_compile
          _write_ninja_file_and_compile_objects(
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1355, in _write_ninja_file_and_compile_objects
          _run_ninja_build(
        File "/home/henrik/miniconda3/envs/new/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1682, in _run_ninja_build
          raise RuntimeError(message) from e
      RuntimeError: Error compiling objects for extension
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for mmdet3d
  Running setup.py clean for mmdet3d
Failed to build mmdet3d
ERROR: Could not build wheels for mmdet3d, which is required to install pyproject.toml-based projects


Can you help me with this or is it possible to use later versions i.e 1.4.0?

@proggheli
Copy link
Author

I found the problem to this issue above

@sun-yue2002
Copy link

I found the problem to this issue above

You can see previous questions. There are versions of libraries that author install with. And mmdet3d is installed with command python setup.py develop.

@proggheli
Copy link
Author

Yes I saw that thank you. I have come a lot further but now have issues with:

(openmmlab) henrik@henrik-XPS-15-9510:~/mmdetection-2.10.0/MSMDFusion-main$ python ./tools/test.py ./configs/MSMDFusion_nusc_voxel_LC.py ./checkpoints/MSMDFusion.pth --eval bbox
import DCN failed
Traceback (most recent call last):
  File "/home/henrik/miniconda3/envs/openmmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 179, in build_from_cfg
    return obj_cls(**args)
  File "/home/henrik/mmdetection-2.10.0/MSMDFusion-main/mmdet3d/datasets/nuscenes_dataset.py", line 125, in __init__
    test_mode=test_mode)
  File "/home/henrik/mmdetection-2.10.0/MSMDFusion-main/mmdet3d/datasets/custom_3d.py", line 61, in __init__
    self.data_infos = self.load_annotations(self.ann_file)
  File "/home/henrik/mmdetection-2.10.0/MSMDFusion-main/mmdet3d/datasets/nuscenes_dataset.py", line 172, in load_annotations
    data_infos = list(sorted(data['infos'], key=lambda e: e['timestamp']))
KeyError: 'infos'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./tools/test.py", line 219, in <module>
    main()
  File "./tools/test.py", line 160, in main
    dataset = build_dataset(cfg.data.test)
  File "/home/henrik/mmdetection-2.10.0/MSMDFusion-main/mmdet3d/datasets/builder.py", line 38, in build_dataset
    dataset = build_from_cfg(cfg, DATASETS, default_args)
  File "/home/henrik/miniconda3/envs/openmmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 182, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "NuScenesDataset: 'infos'"

What can I do to fix this error message?

@sun-yue2002
Copy link

Have you prepocessed the nuscenes dataset?

@proggheli
Copy link
Author

Yes my dataset follows this data preperation:

MSMDFusion-main
├── mmdet3d
├── tools
├── configs
├── data
│ ├── nuscenes
│ │ ├── maps
│ │ ├── samples
│ │ ├── sweeps
│ │ ├── v1.0-test
| | ├── v1.0-trainval
│ │ ├── nuscenes_database
│ │ ├── nuscenes_infos_train.pkl
│ │ ├── nuscenes_infos_val.pkl
│ │ ├── nuscenes_infos_test.pkl
│ │ ├── nuscenes_dbinfos_train.pkl

@sun-yue2002
Copy link

If you prepocess the dataset right, I think the error maybe is caused by different versions of mmcv, mmdet or mmdet3d. I suggest mmdet3d 0.11.0 that author used.

@sun-yue2002
Copy link

This is my library version:

mmcv-full 1.4.0
mmdet 2.11.0
mmdet3d 0.11.0

Hope it will be helpful.

@proggheli
Copy link
Author

No I have followed @SxJyJay direction above so i have mmdet3d=0.11.0, mmdetection2.10.0 and mmcv-full=1.3.0

(openmmlab) henrik@henrik-XPS-15-9510:~/mmdetection-2.10.0/MSMDFusion-main/mmdet3d/utils$ python collect_env.py
fatal: not a git repository (or any of the parent directories): .git
sys.platform: linux
Python: 3.7.16 (default, Jan 17 2023, 22:20:44) [GCC 11.2.0]
CUDA available: True
GPU 0: NVIDIA GeForce RTX 3050 Ti Laptop GPU
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_12.3.r12.3/compiler.33567101_0
GCC: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
PyTorch: 1.9.0+cu111
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.1.2 (Git Hash 98be7e8afa711dc9b66c8ff3504129cb82013cdb)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.1
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
  - CuDNN 8.0.5
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.1, CUDNN_VERSION=8.0.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.9.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, 

TorchVision: 0.10.0+cu111
OpenCV: 4.9.0
MMCV: 1.3.0
MMCV Compiler: GCC 11.4
MMCV CUDA Compiler: 12.3
MMDetection: 2.10.0
MMDetection3D: 0.11.0+
(openmmlab) henrik@henrik-XPS-15-9510:~/mmdetection-2.10.0/MSMDFusion-main/mmdet3d/utils$ 

@sun-yue2002
Copy link

KeyError: "NuScenesDataset: 'infos'"

I have never met this error thus I don't know what the exact reason is, but I guess there is something wrong with the dataset. Did you use the entire 10 datasets to do the create_data? Maybe you can retry this prepocess part. By the way , the entire dataset is around 600G, if your dataset is not that big, maybe it went wrong when you do the create_data part.

@proggheli
Copy link
Author

Hi thanks for helping me. Well my nuscenes data are around 600GB but my pkl files are only 1.5GB , is that reasonable?

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

3 participants