Closed proggheli closed 4 months ago
Actually, we have not tried to install with this docker file. You can refer to getting_started.md and here for installation.
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?
I found the problem to this issue above
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
.
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?
Have you prepocessed the nuscenes dataset?
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
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.
This is my library version:
mmcv-full 1.4.0 mmdet 2.11.0 mmdet3d 0.11.0
Hope it will be helpful.
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$
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.
Hi thanks for helping me. Well my nuscenes data are around 600GB but my pkl files are only 1.5GB , is that reasonable?
Describe the bug Hi I was wondering if someone else had issues when building the docker, I get compatibility issues.
Reproduction
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
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