SxJyJay / MSMDFusion

[CVPR 2023] MSMDFusion: Fusing LiDAR and Camera at Multiple Scales with Multi-Depth Seeds for 3D Object Detection
Apache License 2.0
184 stars 11 forks source link

about version of python library #9

Open jiumozhi123 opened 1 year ago

jiumozhi123 commented 1 year ago

Hi, Thanks for your open-source code, I'm trying to reappear your code. Although I complete the preprocess of nuscenes, I failed in training stage due to the unknown version of python library. Could you provide the current version of cuda, python, pytorch, torch-scatter, mmcv-full, mmdetection, spconv-2 in MSMDFusion? Thanks a lot!

SxJyJay commented 1 year ago

Thanks for your attention. I list my environment dependency as below:

Package                 Version              
----------------------- --------------------
absl-py                 1.0.0
addict                  2.4.0
argon2-cffi             21.3.0
argon2-cffi-bindings    21.2.0
attrs                   21.4.0
backcall                0.2.0
beautifulsoup4          4.11.1
black                   22.3.0
bleach                  5.0.0
cachetools              5.0.0
ccimport                0.3.7
certifi                 2022.9.14
cffi                    1.15.0
charset-normalizer      2.0.12
ipdb                    0.13.9
ipykernel               6.13.0
ipython                 7.32.0
ipython-genutils        0.2.0
ipywidgets              7.7.0
jedi                    0.18.1
Jinja2                  3.1.1
joblib                  1.1.0
jsonschema              4.4.0
jupyter                 1.0.0
jupyter-client          7.3.0
jupyter-console         6.4.3
jupyter-core            4.10.0
jupyterlab-pygments     0.2.2
jupyterlab-widgets      1.1.0
kiwisolver              1.4.2
landmarkconv            0.0.0
lark                    1.1.2
llvmlite                0.31.0
lyft-dataset-sdk        0.0.8
Markdown                3.3.4
MarkupSafe              2.1.1
matplotlib              3.5.1
matplotlib-inline       0.1.3
mccabe                  0.6.1
mistune                 0.8.4
mkl-fft                 1.2.0
mkl-random              1.2.0
mkl-service             2.3.0
mmcv-full               1.3.0                
mmdet                   2.10.0
mmdet3d                 0.11.0              
mmpycocotools           12.0.3
motmetrics              1.2.5
mypy-extensions         0.4.3
nbclient                0.6.0
nbconvert               6.5.0
nbformat                5.3.0
nest-asyncio            1.5.5
networkx                2.2
ninja                   1.10.2.3
notebook                6.4.11
numba                   0.48.0
numpy                   1.19.2
nuscenes-devkit         1.1.9
oauthlib                3.2.0
olefile                 0.46
opencv-python           4.5.5.64
packaging               21.3
pandas                  1.3.5
pandocfilters           1.5.0
parso                   0.8.3
pathspec                0.9.0
pccm                    0.3.4
pexpect                 4.8.0
pickleshare             0.7.5
Pillow                  9.1.0
pip                     21.2.2
platformdirs            2.5.2
plotly                  5.7.0
pluggy                  1.0.0
plyfile                 0.7.4
portalocker             2.4.0
prettytable             3.2.0
prometheus-client       0.14.1
prompt-toolkit          3.0.29
protobuf                3.20.1
psutil                  5.9.0
ptyprocess              0.7.0
py                      1.11.0
pyasn1                  0.4.8
pyasn1-modules          0.2.8
pybind11                2.9.2
pycocotools             2.0.4
pycodestyle             2.8.0
pycparser               2.21
pyflakes                2.4.0
Pygments                2.12.0
pyparsing               3.0.8
pyquaternion            0.9.9
pyrsistent              0.18.1
pytest                  7.1.2
python-dateutil         2.8.2
pytz                    2022.1
PyWavelets              1.3.0
PyYAML                  6.0
pyzmq                   22.3.0
qtconsole               5.3.0
QtPy                    2.0.1
requests                2.27.1
requests-oauthlib       1.3.1
rsa                     4.8
scikit-image            0.19.3
scikit-learn            1.0.2
scipy                   1.7.3
Send2Trash              1.8.0
setuptools              61.2.0
Shapely                 1.8.1.post1
six                     1.16.0
soupsieve               2.3.2.post1
spconv-cu111            2.1.21
tenacity                8.0.1
tensorboard             2.8.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit  1.8.1
termcolor               1.1.0
terminado               0.13.3
terminaltables          3.1.10
thop                    0.1.1.post2209072238
threadpoolctl           3.1.0
tifffile                2021.11.2
timm                    0.5.4
tinycss2                1.1.1
toml                    0.10.2
tomli                   2.0.1
torch                   1.9.0+cu111
torch-scatter           2.0.9
torchaudio              0.9.0
torchvision             0.10.0+cu111
tornado                 6.1
tqdm                    4.64.0
traitlets               5.1.1
trimesh                 2.35.39
typed-ast               1.5.3
typing_extensions       4.2.0
urllib3                 1.26.9
wcwidth                 0.2.5
webencodings            0.5.1
Werkzeug                2.1.1
wheel                   0.37.1
widgetsnbextension      3.6.0
xmltodict               0.12.0
yapf                    0.32.0
zipp                    3.8.0
SxJyJay commented 1 year ago

Also, you need to add mmcv register to spconv library file as done here.

jiumozhi123 commented 1 year ago

I have a try. When I run "python tools/train.py configs/transfusion_nusc_voxel_L.py", the following error occur 2023-04-08 13-10-05屏幕截图

jiumozhi123 commented 1 year ago

I list my environment dependency as below:

Package                     Version      Editable project location
--------------------------- ------------ -------------------------
absl-py                     1.4.0
addict                      2.4.0
anyio                       3.6.2
argon2-cffi                 21.3.0
argon2-cffi-bindings        21.2.0
astor                       0.8.1
asynctest                   0.13.0
attrs                       22.2.0
backcall                    0.2.0
beautifulsoup4              4.12.2
black                       23.3.0
bleach                      6.0.0
cachetools                  4.2.4
ccimport                    0.3.7
certifi                     2022.12.7
cffi                        1.15.1
charset-normalizer          3.1.0
click                       8.1.3
codecov                     2.1.12
colorama                    0.4.6
ConfigArgParse              1.5.3
coverage                    7.2.3
cumm-cu111                  0.2.9
cycler                      0.11.0
Cython                      0.29.34
dash                        2.9.2
dash-core-components        2.0.0
dash-html-components        2.0.0
dash-table                  5.0.0
debugpy                     1.6.7
decorator                   5.1.1
defusedxml                  0.7.1
descartes                   1.1.0
entrypoints                 0.4
exceptiongroup              1.1.1
fastjsonschema              2.16.3
filelock                    3.11.0
fire                        0.5.0
flake8                      5.0.4
Flask                       2.2.3
fonttools                   4.38.0
gast                        0.2.2
google-auth                 1.35.0
google-auth-oauthlib        0.4.6
google-pasta                0.2.0
grpcio                      1.53.0
h5py                        3.8.0
huggingface-hub             0.13.4
idna                        3.4
imageio                     2.27.0
importlib-metadata          4.2.0
importlib-resources         5.12.0
iniconfig                   2.0.0
interrogate                 1.5.0
ipdb                        0.13.13
ipykernel                   6.16.2
ipython                     7.34.0
ipython-genutils            0.2.0
ipywidgets                  8.0.6
isort                       5.11.5
itsdangerous                2.1.2
jedi                        0.18.2
Jinja2                      3.1.2
joblib                      1.2.0
jsonschema                  4.17.3
jupyter                     1.0.0
jupyter_client              7.4.9
jupyter-console             6.6.3
jupyter_core                4.12.0
jupyter-server              1.23.6
jupyterlab-pygments         0.2.2
jupyterlab-widgets          3.0.7
Keras-Applications          1.0.8
Keras-Preprocessing         1.1.2
kiwisolver                  1.4.4
kwarray                     0.6.10
lark                        1.1.5
llvmlite                    0.31.0
lyft-dataset-sdk            0.0.8
Markdown                    3.3.4
MarkupSafe                  2.1.2
matplotlib                  3.5.2
matplotlib-inline           0.1.6
mccabe                      0.7.0
mistune                     2.0.5
mmcv-full                   1.3.0
mmdet                       2.10.0
mmdet3d                     0.11.0       /mnt/projects/MSMDFusion
mmpycocotools               12.0.3
mypy-extensions             1.0.0
nbclassic                   0.5.5
nbclient                    0.7.3
nbconvert                   7.3.0
nbformat                    5.7.0
nest-asyncio                1.5.6
networkx                    2.2
ninja                       1.11.1
notebook                    6.5.4
notebook_shim               0.2.2
numba                       0.48.0
numpy                       1.19.5
nuscenes-devkit             1.1.10
oauthlib                    3.2.2
open3d                      0.17.0
opencv-python               4.4.0.44
opt-einsum                  3.3.0
packaging                   23.0
pandas                      1.3.5
pandocfilters               1.5.0
parso                       0.8.3
pathspec                    0.11.1
pccm                        0.3.4
pexpect                     4.8.0
pickleshare                 0.7.5
Pillow                      9.4.0
pip                         22.3.1
pkgutil_resolve_name        1.3.10
platformdirs                3.2.0
plotly                      5.14.1
pluggy                      1.0.0
plyfile                     0.8.1
portalocker                 2.7.0
prometheus-client           0.16.0
prompt-toolkit              3.0.38
protobuf                    3.20.1
psutil                      5.9.4
ptyprocess                  0.7.0
py                          1.11.0
pyasn1                      0.4.8
pyasn1-modules              0.2.8
pybind11                    2.10.4
pycodestyle                 2.9.1
pycparser                   2.21
pyflakes                    2.5.0
Pygments                    2.14.0
pyparsing                   3.0.9
pyquaternion                0.9.9
pyrsistent                  0.19.3
pytest                      7.2.2
pytest-cov                  4.0.0
pytest-runner               6.0.0
python-dateutil             2.8.2
pytz                        2023.3
PyWavelets                  1.3.0
PyYAML                      6.0
pyzmq                       25.0.2
qtconsole                   5.4.2
QtPy                        2.3.1
requests                    2.28.2
requests-oauthlib           1.3.1
rsa                         4.9
scikit-image                0.19.3
scikit-learn                1.0.2
scipy                       1.4.1
Send2Trash                  1.8.0
setuptools                  56.1.0
Shapely                     1.8.5
six                         1.16.0
sniffio                     1.3.0
soupsieve                   2.4
spconv-cu111                2.1.21
tabulate                    0.9.0
tenacity                    8.2.2
tensorboard                 2.1.1
tensorflow-estimator        2.1.0
tensorflow-gpu              2.1.0
termcolor                   2.2.0
terminado                   0.17.1
terminaltables              3.1.10
threadpoolctl               3.1.0
tifffile                    2021.11.2
timm                        0.6.13
tinycss2                    1.2.1
toml                        0.10.2
tomli                       2.0.1
torch                       1.9.1+cu111
torch-scatter               2.0.9
torchaudio                  0.9.1
torchvision                 0.10.1+cu111
tornado                     6.2
tqdm                        4.65.0
traitlets                   5.9.0
trimesh                     2.35.39
typed-ast                   1.5.4
typing_extensions           4.5.0
ubelt                       1.2.4
urllib3                     1.26.15
waymo-open-dataset-tf-2-1-0 1.2.0
wcwidth                     0.2.6
webencodings                0.5.1
websocket-client            1.5.1
Werkzeug                    2.2.3
wheel                       0.38.4
widgetsnbextension          4.0.7
wrapt                       1.15.0
xdoctest                    1.1.1
yapf                        0.32.0
zipp                        3.15.0
SxJyJay commented 1 year ago

Thanks for your timely feedback. The above errors are caused by my previous tryouts. You can just delete codes related to importing CB-Swin backbone. And I will update the repository to fix this bug.

SxJyJay commented 1 year ago

You can refer to this submission to modify relevant codes.

SxJyJay commented 1 year ago

I have a try. When I run "python tools/train.py configs/transfusion_nusc_voxel_L.py", the following error occur 2023-04-08 13-10-05屏幕截图

Besides, I notice you would like to train the first stage of TransFusion-L. Please do not forget to switch fade strategy. For more details, you can refer to this

Gmonster-24 commented 1 year ago

Thank you for your excellent work, I had this problem while installing: KeyError: 'Unrecognized norm type SubMConv3d'. My spconv-cu111==2.1.21.

All my environments are:

Name Version Build Channel

_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
absl-py 1.4.0 pypi_0 pypi addict 2.4.0 pypi_0 pypi anyio 3.6.2 pypi_0 pypi argon2-cffi 21.3.0 pypi_0 pypi argon2-cffi-bindings 21.2.0 pypi_0 pypi attrs 22.2.0 pypi_0 pypi backcall 0.2.0 pypi_0 pypi beautifulsoup4 4.12.2 pypi_0 pypi black 23.3.0 pypi_0 pypi bleach 6.0.0 pypi_0 pypi ca-certificates 2023.01.10 h06a4308_0
cachetools 5.3.0 pypi_0 pypi ccimport 0.3.7 pypi_0 pypi certifi 2022.12.7 py37h06a4308_0
cffi 1.15.1 pypi_0 pypi charset-normalizer 3.1.0 pypi_0 pypi click 8.1.3 pypi_0 pypi colorama 0.4.6 pypi_0 pypi cumm-cu111 0.2.9 pypi_0 pypi cycler 0.11.0 pypi_0 pypi cython 0.29.34 pypi_0 pypi debugpy 1.6.7 pypi_0 pypi decorator 5.1.1 pypi_0 pypi defusedxml 0.7.1 pypi_0 pypi descartes 1.1.0 pypi_0 pypi entrypoints 0.4 pypi_0 pypi exceptiongroup 1.1.1 pypi_0 pypi fastjsonschema 2.16.3 pypi_0 pypi fire 0.5.0 pypi_0 pypi flake8 3.9.2 pypi_0 pypi fonttools 4.38.0 pypi_0 pypi google-auth 2.17.2 pypi_0 pypi google-auth-oauthlib 0.4.6 pypi_0 pypi grpcio 1.53.0 pypi_0 pypi idna 3.4 pypi_0 pypi imageio 2.27.0 pypi_0 pypi importlib-metadata 6.2.0 pypi_0 pypi importlib-resources 5.12.0 pypi_0 pypi iniconfig 2.0.0 pypi_0 pypi ipdb 0.13.13 pypi_0 pypi ipykernel 6.16.2 pypi_0 pypi ipython 7.34.0 pypi_0 pypi ipython-genutils 0.2.0 pypi_0 pypi ipywidgets 8.0.6 pypi_0 pypi jedi 0.18.2 pypi_0 pypi jinja2 3.1.2 pypi_0 pypi joblib 1.2.0 pypi_0 pypi jsonschema 4.17.3 pypi_0 pypi jupyter 1.0.0 pypi_0 pypi jupyter-client 7.4.9 pypi_0 pypi jupyter-console 6.6.3 pypi_0 pypi jupyter-core 4.12.0 pypi_0 pypi jupyter-server 1.23.6 pypi_0 pypi jupyterlab-pygments 0.2.2 pypi_0 pypi jupyterlab-widgets 3.0.7 pypi_0 pypi kiwisolver 1.4.4 pypi_0 pypi lark 1.1.5 pypi_0 pypi libedit 3.1.20221030 h5eee18b_0
libffi 3.2.1 hf484d3e_1007
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libstdcxx-ng 11.2.0 h1234567_1
llvmlite 0.31.0 pypi_0 pypi lyft-dataset-sdk 0.0.8 pypi_0 pypi markdown 3.4.3 pypi_0 pypi markdown-it-py 2.2.0 pypi_0 pypi markupsafe 2.1.2 pypi_0 pypi matplotlib 3.5.2 pypi_0 pypi matplotlib-inline 0.1.6 pypi_0 pypi mccabe 0.6.1 pypi_0 pypi mdurl 0.1.2 pypi_0 pypi mistune 2.0.5 pypi_0 pypi mmcv-full 1.3.0 pypi_0 pypi mmdet 2.10.0 pypi_0 pypi mmdet3d 0.11.0 dev_0 mmengine 0.7.2 pypi_0 pypi mmpycocotools 12.0.3 pypi_0 pypi model-index 0.1.11 pypi_0 pypi mypy-extensions 1.0.0 pypi_0 pypi nbclassic 0.5.5 pypi_0 pypi nbclient 0.7.3 pypi_0 pypi nbconvert 7.3.0 pypi_0 pypi nbformat 5.8.0 pypi_0 pypi ncurses 6.4 h6a678d5_0
nest-asyncio 1.5.6 pypi_0 pypi networkx 2.2 pypi_0 pypi ninja 1.11.1 pypi_0 pypi notebook 6.5.4 pypi_0 pypi notebook-shim 0.2.2 pypi_0 pypi numba 0.48.0 pypi_0 pypi numpy 1.19.5 pypi_0 pypi nuscenes-devkit 1.1.10 pypi_0 pypi oauthlib 3.2.2 pypi_0 pypi opencv-python 4.7.0.72 pypi_0 pypi openmim 0.3.7 pypi_0 pypi openssl 1.0.2u h7b6447c_0
ordered-set 4.1.0 pypi_0 pypi packaging 23.0 pypi_0 pypi pandas 1.1.5 pypi_0 pypi pandocfilters 1.5.0 pypi_0 pypi parso 0.8.3 pypi_0 pypi pathspec 0.11.1 pypi_0 pypi pccm 0.3.4 pypi_0 pypi pexpect 4.8.0 pypi_0 pypi pickleshare 0.7.5 pypi_0 pypi pillow 9.5.0 pypi_0 pypi pip 22.3.1 py37h06a4308_0
pkgutil-resolve-name 1.3.10 pypi_0 pypi platformdirs 3.2.0 pypi_0 pypi plotly 5.14.1 pypi_0 pypi pluggy 1.0.0 pypi_0 pypi plyfile 0.8.1 pypi_0 pypi portalocker 2.7.0 pypi_0 pypi prometheus-client 0.16.0 pypi_0 pypi prompt-toolkit 3.0.38 pypi_0 pypi protobuf 3.20.3 pypi_0 pypi psutil 5.9.4 pypi_0 pypi ptyprocess 0.7.0 pypi_0 pypi pyasn1 0.4.8 pypi_0 pypi pyasn1-modules 0.2.8 pypi_0 pypi pybind11 2.10.4 pypi_0 pypi pycodestyle 2.7.0 pypi_0 pypi pycparser 2.21 pypi_0 pypi pyflakes 2.3.1 pypi_0 pypi pygments 2.14.0 pypi_0 pypi pyparsing 3.0.9 pypi_0 pypi pyquaternion 0.9.9 pypi_0 pypi pyrsistent 0.19.3 pypi_0 pypi pytest 7.2.2 pypi_0 pypi python 3.7.0 h6e4f718_3
python-dateutil 2.8.2 pypi_0 pypi pytz 2023.3 pypi_0 pypi pywavelets 1.3.0 pypi_0 pypi pyyaml 6.0 pypi_0 pypi pyzmq 25.0.2 pypi_0 pypi qtconsole 5.4.2 pypi_0 pypi qtpy 2.3.1 pypi_0 pypi readline 7.0 h7b6447c_5
requests 2.28.2 pypi_0 pypi requests-oauthlib 1.3.1 pypi_0 pypi rich 13.3.3 pypi_0 pypi rsa 4.9 pypi_0 pypi scikit-image 0.19.3 pypi_0 pypi scikit-learn 1.0.2 pypi_0 pypi scipy 1.7.3 pypi_0 pypi send2trash 1.8.0 pypi_0 pypi setuptools 65.6.3 py37h06a4308_0
shapely 1.8.5 pypi_0 pypi six 1.16.0 pypi_0 pypi sniffio 1.3.0 pypi_0 pypi soupsieve 2.4 pypi_0 pypi spconv-cu111 2.1.21 pypi_0 pypi sqlite 3.33.0 h62c20be_0
tabulate 0.9.0 pypi_0 pypi tenacity 8.2.2 pypi_0 pypi tensorboard 2.11.2 pypi_0 pypi tensorboard-data-server 0.6.1 pypi_0 pypi tensorboard-plugin-wit 1.8.1 pypi_0 pypi termcolor 2.2.0 pypi_0 pypi terminado 0.17.1 pypi_0 pypi terminaltables 3.1.10 pypi_0 pypi threadpoolctl 3.1.0 pypi_0 pypi tifffile 2021.11.2 pypi_0 pypi tinycss2 1.2.1 pypi_0 pypi tk 8.6.12 h1ccaba5_0
tomli 2.0.1 pypi_0 pypi torch 1.9.0+cu111 pypi_0 pypi torch-scatter 2.0.8 pypi_0 pypi torchaudio 0.9.0 pypi_0 pypi torchvision 0.10.0+cu111 pypi_0 pypi tornado 6.2 pypi_0 pypi tqdm 4.65.0 pypi_0 pypi traitlets 5.9.0 pypi_0 pypi trimesh 2.35.39 pypi_0 pypi typed-ast 1.5.4 pypi_0 pypi typing-extensions 4.5.0 pypi_0 pypi urllib3 1.26.15 pypi_0 pypi wcwidth 0.2.6 pypi_0 pypi webencodings 0.5.1 pypi_0 pypi websocket-client 1.5.1 pypi_0 pypi werkzeug 2.2.3 pypi_0 pypi wheel 0.38.4 py37h06a4308_0
widgetsnbextension 4.0.7 pypi_0 pypi xz 5.2.10 h5eee18b_1
yapf 0.32.0 pypi_0 pypi zipp 3.15.0 pypi_0 pypi zlib 1.2.13 h5eee18b_0

SxJyJay commented 1 year ago

Can you provide more specific error information?

Gmonster-24 commented 1 year ago

2023-04-08 15:46:30,735 - mmdet - INFO - Set random seed to 0, deterministic: False Traceback (most recent call last): File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmcv/utils/registry.py", line 179, in build_from_cfg return obj_cls(**args) File "/media/lab509/gta/MSMDFusion/mmdet3d/models/middle_encoders/sparse_encoder.py", line 78, in init conv_type='SubMConv3d') File "/media/lab509/gta/MSMDFusion/mmdet3d/ops/sparse_block.py", line 176, in make_sparse_convmodule bias=False)) File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmcv/cnn/bricks/conv.py", line 37, in build_conv_layer raise KeyError(f'Unrecognized norm type {layer_type}') KeyError: 'Unrecognized norm type SubMConv3d'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmcv/utils/registry.py", line 179, in build_from_cfg return obj_cls(args) File "/media/lab509/gta/MSMDFusion/mmdet3d/models/detectors/MSMDFusion.py", line 97, in init super(MSMDFusionDetector, self).init(kwargs) File "/media/lab509/gta/MSMDFusion/mmdet3d/models/detectors/mvx_two_stage.py", line 58, in init pts_middle_encoder) File "/media/lab509/gta/MSMDFusion/mmdet3d/models/builder.py", line 58, in build_middle_encoder return build(cfg, MIDDLE_ENCODERS) File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmdet/models/builder.py", line 34, in build return build_from_cfg(cfg, registry, default_args) File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmcv/utils/registry.py", line 182, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') KeyError: "SparseEncoder: 'Unrecognized norm type SubMConv3d'"

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/media/lab509/gta/MSMDFusion/tools/train.py", line 283, in main() File "/media/lab509/gta/MSMDFusion/tools/train.py", line 183, in main test_cfg=cfg.get('test_cfg')) File "/media/lab509/gta/MSMDFusion/mmdet3d/models/builder.py", line 48, in build_detector return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg)) File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmdet/models/builder.py", line 34, in build return build_from_cfg(cfg, registry, default_args) File "/home/lab509/anaconda3/envs/gta-MSmd/lib/python3.7/site-packages/mmcv/utils/registry.py", line 182, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') KeyError: 'MSMDFusionDetector: "SparseEncoder: \'Unrecognized norm type SubMConv3d\'"'

SxJyJay commented 1 year ago

Please refer to this answer to add mmcv register into the spconv library.

Gmonster-24 commented 1 year ago

Thank you very much. I overlooked that

SxJyJay commented 1 year ago

@jiumozhi123 @Gmonster-24 I close this issue since it seems you have succeeded run our model. If you have any questions, please submit a new issue.

1843744321mark commented 1 year ago

@SxJyJay @Gmonster-24 Hello! I am a freshman. I meet the same question, but I do not know how to add mmcv register into the spconv library? Could you please give me some more detailed guidelines?

SxJyJay commented 1 year ago

@SxJyJay @Gmonster-24 Hello! I am a freshman. I meet the same question, but I do not know how to add mmcv register into the spconv library? Could you please give me some more detailed guidelines?

First, locate the "conv.py" file in your installed spconv library, for example, the path of this file seems like "~/anaconda3/envs/msmd/lib/python3.8/site-packages/spconv/pytorch/conv.py". Then, you can modify that the "conv.py" file following this example

1843744321mark commented 1 year ago

@SxJyJay Thanks for your reply! How can I use the TTA version for training and testing?

SxJyJay commented 1 year ago

TTA(Test-Time Augmentation) is used only during the testing which ensembles predictions generated from input with different data augmentation. You can refer to issue 3 for more details.

gw0522 commented 1 year ago

Hello, if possible, can you disclose the TTA source code?

1843744321mark commented 1 year ago

@SxJyJay Thanks for your reply! When I try to use the model for testing, this error happens. It seems that you didn't upload the TTA data for the test set. Could you please upload them? Thanks. File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop data = fetcher.fetch(index) File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/custom_3d.py", line 293, in getitem return self.prepare_test_data(idx) File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/custom_3d.py", line 169, in prepare_test_data example = self.pipeline(input_dict) File "/root/autodl-tmp/mmdetection/mmdet/datasets/pipelines/compose.py", line 40, in call data = t(data) File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/pipelines/test_time_aug.py", line 105, in call data = self.transforms(_results) File "/root/autodl-tmp/mmdetection/mmdet/datasets/pipelines/compose.py", line 40, in call data = t(data) File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/pipelines/my_loading_multi_proj.py", line 130, in call fg_info = np.load(fg_path, allow_pickle=True).item() File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/numpy/lib/npyio.py", line 416, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: './data/nuscenes/samples/FOREGROUND_MIXED_6NN_WITH_DEPTH/n015-2018-07-25-16-15-50+0800__LIDAR_TOP__1532506680948053.pcd.bin.pkl.npy'

SxJyJay commented 1 year ago

@SxJyJay Thanks for your reply! When I try to use the model for testing, this error happens. It seems that you didn't upload the TTA data for the test set. Could you please upload them? Thanks. File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop data = fetcher.fetch(index) File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/custom_3d.py", line 293, in getitem return self.prepare_test_data(idx) File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/custom_3d.py", line 169, in prepare_test_data example = self.pipeline(input_dict) File "/root/autodl-tmp/mmdetection/mmdet/datasets/pipelines/compose.py", line 40, in call data = t(data) File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/pipelines/test_time_aug.py", line 105, in call data = self.transforms(_results) File "/root/autodl-tmp/mmdetection/mmdet/datasets/pipelines/compose.py", line 40, in call data = t(data) File "/root/autodl-tmp/MSMDFusion/mmdet3d/datasets/pipelines/my_loading_multi_proj.py", line 130, in call fg_info = np.load(fg_path, allow_pickle=True).item() File "/root/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/numpy/lib/npyio.py", line 416, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: './data/nuscenes/samples/FOREGROUND_MIXED_6NN_WITH_DEPTH/n015-2018-07-25-16-15-50+0800__LIDAR_TOP__1532506680948053.pcd.bin.pkl.npy'

Thanks for your update! I searched on my server but cannot find virtual points for test set. I need to remake them these days. You can first test your improvements on nuScenes val set. From my experience, the improvements on val and test set are consistent, and tuning your model only on the training set rather than training+val set is more efficient.

zcj223311 commented 1 year ago

你好,我想复现您的代码,但是遇到了一些问题,我似乎无法成功编译mmdet3d。我的python库如下。

Name Version Build Channel

absl-py 1.4.0 pypi_0 pypi addict 2.4.0 pypi_0 pypi anyio 3.7.0 pypi_0 pypi argon2-cffi 21.3.0 pypi_0 pypi argon2-cffi-bindings 21.2.0 pypi_0 pypi attrs 23.1.0 pypi_0 pypi backcall 0.2.0 pypi_0 pypi beautifulsoup4 4.12.2 pypi_0 pypi black 23.3.0 pypi_0 pypi bleach 6.0.0 pypi_0 pypi ca-certificates 2023.5.7 h56e8100_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge cachetools 5.3.1 pypi_0 pypi certifi 2023.5.7 pypi_0 pypi cffi 1.15.1 pypi_0 pypi charset-normalizer 3.1.0 pypi_0 pypi click 8.1.3 pypi_0 pypi colorama 0.4.6 pypi_0 pypi cycler 0.11.0 pypi_0 pypi cython 0.29.35 pypi_0 pypi debugpy 1.6.7 pypi_0 pypi decorator 5.1.1 pypi_0 pypi defusedxml 0.7.1 pypi_0 pypi descartes 1.1.0 pypi_0 pypi entrypoints 0.4 pypi_0 pypi exceptiongroup 1.1.1 pypi_0 pypi fastjsonschema 2.17.1 pypi_0 pypi fire 0.5.0 pypi_0 pypi flake8 3.9.2 pypi_0 pypi fonttools 4.38.0 pypi_0 pypi google-auth 2.21.0 pypi_0 pypi google-auth-oauthlib 0.4.6 pypi_0 pypi grpcio 1.56.0 pypi_0 pypi idna 3.4 pypi_0 pypi imageio 2.31.1 pypi_0 pypi importlib-metadata 6.7.0 pypi_0 pypi importlib-resources 5.12.0 pypi_0 pypi iniconfig 2.0.0 pypi_0 pypi ipdb 0.13.13 pypi_0 pypi ipykernel 6.16.2 pypi_0 pypi ipython 7.34.0 pypi_0 pypi ipython-genutils 0.2.0 pypi_0 pypi ipywidgets 8.0.6 pypi_0 pypi jedi 0.18.2 pypi_0 pypi jinja2 3.1.2 pypi_0 pypi joblib 1.3.1 pypi_0 pypi jsonschema 4.17.3 pypi_0 pypi jupyter 1.0.0 pypi_0 pypi jupyter-client 7.4.9 pypi_0 pypi jupyter-console 6.6.3 pypi_0 pypi jupyter-core 4.12.0 pypi_0 pypi jupyter-server 1.24.0 pypi_0 pypi jupyterlab-pygments 0.2.2 pypi_0 pypi jupyterlab-widgets 3.0.7 pypi_0 pypi kiwisolver 1.4.4 pypi_0 pypi libsqlite 3.42.0 hcfcfb64_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge llvmlite 0.31.0 pypi_0 pypi lyft-dataset-sdk 0.0.8 pypi_0 pypi markdown 3.4.3 pypi_0 pypi markdown-it-py 2.2.0 pypi_0 pypi markupsafe 2.1.3 pypi_0 pypi matplotlib 3.5.2 pypi_0 pypi matplotlib-inline 0.1.6 pypi_0 pypi mccabe 0.6.1 pypi_0 pypi mdurl 0.1.2 pypi_0 pypi mistune 3.0.1 pypi_0 pypi mmcv-full 1.3.0 pypi_0 pypi mmdet 2.10.0 pypi_0 pypi mmdet3d 0.11.0 pypi_0 pypi mmpycocotools 12.0.3 pypi_0 pypi model-index 0.1.11 pypi_0 pypi mypy-extensions 1.0.0 pypi_0 pypi nbclassic 1.0.0 pypi_0 pypi nbclient 0.7.4 pypi_0 pypi nbconvert 7.6.0 pypi_0 pypi nbformat 5.8.0 pypi_0 pypi nest-asyncio 1.5.6 pypi_0 pypi networkx 2.2 pypi_0 pypi notebook 6.5.4 pypi_0 pypi notebook-shim 0.2.3 pypi_0 pypi numba 0.48.0 pypi_0 pypi numpy 1.19.5 pypi_0 pypi nuscenes-devkit 1.1.10 pypi_0 pypi oauthlib 3.2.2 pypi_0 pypi opencv-python 4.8.0.74 pypi_0 pypi opendatalab 0.0.9 pypi_0 pypi openmim 0.3.9 pypi_0 pypi openssl 3.1.1 hcfcfb64_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge ordered-set 4.1.0 pypi_0 pypi packaging 23.1 pypi_0 pypi pandas 1.3.5 pypi_0 pypi pandocfilters 1.5.0 pypi_0 pypi parso 0.8.3 pypi_0 pypi pathspec 0.11.1 pypi_0 pypi pickleshare 0.7.5 pypi_0 pypi pillow 9.5.0 pypi_0 pypi pip 23.1.2 pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge pkgutil-resolve-name 1.3.10 pypi_0 pypi platformdirs 3.8.0 pypi_0 pypi plotly 5.15.0 pypi_0 pypi pluggy 1.2.0 pypi_0 pypi plyfile 0.9 pypi_0 pypi prometheus-client 0.17.0 pypi_0 pypi prompt-toolkit 3.0.38 pypi_0 pypi protobuf 3.20.3 pypi_0 pypi psutil 5.9.5 pypi_0 pypi pyasn1 0.5.0 pypi_0 pypi pyasn1-modules 0.3.0 pypi_0 pypi pycocotools 2.0.6 pypi_0 pypi pycodestyle 2.7.0 pypi_0 pypi pycparser 2.21 pypi_0 pypi pycryptodome 3.18.0 pypi_0 pypi pyflakes 2.3.1 pypi_0 pypi pygments 2.15.1 pypi_0 pypi pyparsing 3.1.0 pypi_0 pypi pyquaternion 0.9.9 pypi_0 pypi pyrsistent 0.19.3 pypi_0 pypi pytest 7.4.0 pypi_0 pypi python 3.7.12 h900ac77_100_cpython https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge python-dateutil 2.8.2 pypi_0 pypi pytz 2023.3 pypi_0 pypi pywavelets 1.3.0 pypi_0 pypi pywin32 306 pypi_0 pypi pywinpty 2.0.10 pypi_0 pypi pyyaml 6.0 pypi_0 pypi pyzmq 25.1.0 pypi_0 pypi qtconsole 5.4.3 pypi_0 pypi qtpy 2.3.1 pypi_0 pypi regex 2023.6.3 pypi_0 pypi requests 2.31.0 pypi_0 pypi requests-oauthlib 1.3.1 pypi_0 pypi rich 13.4.2 pypi_0 pypi rsa 4.9 pypi_0 pypi scikit-image 0.19.3 pypi_0 pypi scikit-learn 1.0.2 pypi_0 pypi scipy 1.7.3 pypi_0 pypi send2trash 1.8.2 pypi_0 pypi setuptools 68.0.0 pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge shapely 1.8.5 pypi_0 pypi six 1.16.0 pypi_0 pypi sniffio 1.3.0 pypi_0 pypi soupsieve 2.4.1 pypi_0 pypi sqlite 3.42.0 hcfcfb64_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge tabulate 0.9.0 pypi_0 pypi tenacity 8.2.2 pypi_0 pypi tensorboard 2.11.2 pypi_0 pypi tensorboard-data-server 0.6.1 pypi_0 pypi tensorboard-plugin-wit 1.8.1 pypi_0 pypi termcolor 2.3.0 pypi_0 pypi terminado 0.17.1 pypi_0 pypi terminaltables 3.1.10 pypi_0 pypi threadpoolctl 3.1.0 pypi_0 pypi tifffile 2021.11.2 pypi_0 pypi tinycss2 1.2.1 pypi_0 pypi tomli 2.0.1 pypi_0 pypi torch 1.9.1 pypi_0 pypi torchaudio 0.9.1 pypi_0 pypi torchvision 0.10.1 pypi_0 pypi tornado 6.2 pypi_0 pypi tqdm 4.65.0 pypi_0 pypi traitlets 5.9.0 pypi_0 pypi trimesh 2.35.39 pypi_0 pypi typed-ast 1.5.4 pypi_0 pypi typing-extensions 4.7.0 pypi_0 pypi ucrt 10.0.22621.0 h57928b3_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge urllib3 1.26.16 pypi_0 pypi vc 14.3 h64f974e_17 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge vc14_runtime 14.36.32532 hfdfe4a8_17 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge vs2015_runtime 14.36.32532 h05e6639_17 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge wcwidth 0.2.6 pypi_0 pypi webencodings 0.5.1 pypi_0 pypi websocket-client 1.6.1 pypi_0 pypi werkzeug 2.2.3 pypi_0 pypi wheel 0.40.0 pyhd8ed1ab_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge widgetsnbextension 4.0.7 pypi_0 pypi yapf 0.40.1 pypi_0 pypi zipp 3.15.0 pypi_0 pypi

我在使用mmdet==2.10.0时代码提示要使用mmcv-full>1.3.4,所以我用了mmcv-full=1.4.0我不知道这是不是因为我用的是windows的原因。 具体的错误如下: Running setup.py develop for mmdet3d error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [73 lines of output]
    No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1'
    Compiling sparse_conv_ext without CUDA
    Compiling iou3d_cuda without CUDA
    Compiling voxel_layer without CUDA
    Compiling roiaware_pool3d_ext without CUDA
    Compiling ball_query_ext without CUDA
    Compiling knn_ext without CUDA
    Compiling group_points_ext without CUDA
    Compiling interpolate_ext without CUDA
    Compiling furthest_point_sample_ext without CUDA
    Compiling gather_points_ext without CUDA
    running develop
    running egg_info
    creating mmdet3d.egg-info
    writing mmdet3d.egg-info\PKG-INFO
    writing dependency_links to mmdet3d.egg-info\dependency_links.txt
    writing requirements to mmdet3d.egg-info\requires.txt
    writing top-level names to mmdet3d.egg-info\top_level.txt
    writing manifest file 'mmdet3d.egg-info\SOURCES.txt'
    reading manifest file 'mmdet3d.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    D:\anaconda3\envs\msmd-1\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
    !!

            ********************************************************************************
            Please avoid running ``setup.py`` and ``easy_install``.
            Instead, use pypa/build, pypa/installer or other
            standards-based tools.

            See https://github.com/pypa/setuptools/issues/917 for details.
            ********************************************************************************

    !!
      easy_install.initialize_options(self)
    D:\anaconda3\envs\msmd-1\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
    !!

            ********************************************************************************
            Please avoid running ``setup.py`` directly.
            Instead, use pypa/build, pypa/installer or other
            standards-based tools.

            See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
            ********************************************************************************

    !!
      self.initialize_options()
    D:\anaconda3\envs\msmd-1\lib\site-packages\torch\utils\cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
      warnings.warn(msg.format('we could not find ninja.'))
    warning: no files found matching 'mmdet3d\ops\**\*.cpp'
    warning: no files found matching 'mmdet3d\ops\**\*.cu'
    warning: no files found matching 'mmdet3d\ops\**\*.h'
    warning: no files found matching 'mmdet3d\ops\**\*.cc'
    warning: no files found matching 'mmdet3d\VERSION'
    adding license file 'LICENSE'
    writing manifest file 'mmdet3d.egg-info\SOURCES.txt'
    running build_ext
    building 'mmdet3d.ops.spconv.sparse_conv_ext' extension
    creating build
    creating build\temp.win-amd64-cpython-37
    creating build\temp.win-amd64-cpython-37\Release
    creating build\temp.win-amd64-cpython-37\Release\mmdet3d
    creating build\temp.win-amd64-cpython-37\Release\mmdet3d\ops
    creating build\temp.win-amd64-cpython-37\Release\mmdet3d\ops\spconv
    creating build\temp.win-amd64-cpython-37\Release\mmdet3d\ops\spconv\src
    "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\msmdfusion\mmdet3d\ops\spconv\include -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include\torch\csrc\api\include -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include\TH -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include\THC -ID:\anaconda3\envs\msmd-1\include -ID:\anaconda3\envs\msmd-1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmmdet3d\ops\spconv\src/all.cc /Fobuild\temp.win-amd64-cpython-37\Release\mmdet3d\ops\spconv\src/all.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
    cl: 命令行 warning D9025 :正在重写“/W3”(用“/w”)
    cl: 命令行 warning D9002 :忽略未知选项“-std=c++14”
    all.cc
    mmdet3d\ops\spconv\src/all.cc(15): fatal error C1083: 无法打开包括文件: “cuda_runtime_api.h”: No such file or directory
    D:\anaconda3\envs\msmd-1\lib\site-packages\torch\utils\cpp_extension.py:305: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
      warnings.warn(f'Error checking compiler version for {compiler}: {error}')
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Can't roll back mmdet3d; was not uninstalled error: subprocess-exited-with-error

× python setup.py develop did not run successfully. │ exit code: 1 ╰─> [73 lines of output] No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1' Compiling sparse_conv_ext without CUDA Compiling iou3d_cuda without CUDA Compiling voxel_layer without CUDA Compiling roiaware_pool3d_ext without CUDA Compiling ball_query_ext without CUDA Compiling knn_ext without CUDA Compiling group_points_ext without CUDA Compiling interpolate_ext without CUDA Compiling furthest_point_sample_ext without CUDA Compiling gather_points_ext without CUDA running develop running egg_info creating mmdet3d.egg-info writing mmdet3d.egg-info\PKG-INFO writing dependency_links to mmdet3d.egg-info\dependency_links.txt writing requirements to mmdet3d.egg-info\requires.txt writing top-level names to mmdet3d.egg-info\top_level.txt writing manifest file 'mmdet3d.egg-info\SOURCES.txt' reading manifest file 'mmdet3d.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' D:\anaconda3\envs\msmd-1\lib\site-packages\setuptools\command\develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
D:\anaconda3\envs\msmd-1\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
D:\anaconda3\envs\msmd-1\lib\site-packages\torch\utils\cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
  warnings.warn(msg.format('we could not find ninja.'))
warning: no files found matching 'mmdet3d\ops\**\*.cpp'
warning: no files found matching 'mmdet3d\ops\**\*.cu'
warning: no files found matching 'mmdet3d\ops\**\*.h'
warning: no files found matching 'mmdet3d\ops\**\*.cc'
warning: no files found matching 'mmdet3d\VERSION'
adding license file 'LICENSE'
writing manifest file 'mmdet3d.egg-info\SOURCES.txt'
running build_ext
building 'mmdet3d.ops.spconv.sparse_conv_ext' extension
creating build
creating build\temp.win-amd64-cpython-37
creating build\temp.win-amd64-cpython-37\Release
creating build\temp.win-amd64-cpython-37\Release\mmdet3d
creating build\temp.win-amd64-cpython-37\Release\mmdet3d\ops
creating build\temp.win-amd64-cpython-37\Release\mmdet3d\ops\spconv
creating build\temp.win-amd64-cpython-37\Release\mmdet3d\ops\spconv\src
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\msmdfusion\mmdet3d\ops\spconv\include -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include\torch\csrc\api\include -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include\TH -ID:\anaconda3\envs\msmd-1\lib\site-packages\torch\include\THC -ID:\anaconda3\envs\msmd-1\include -ID:\anaconda3\envs\msmd-1\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmmdet3d\ops\spconv\src/all.cc /Fobuild\temp.win-amd64-cpython-37\Release\mmdet3d\ops\spconv\src/all.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -w -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0
cl: 命令行 warning D9025 :正在重写“/W3”(用“/w”)
cl: 命令行 warning D9002 :忽略未知选项“-std=c++14”
all.cc
mmdet3d\ops\spconv\src/all.cc(15): fatal error C1083: 无法打开包括文件: “cuda_runtime_api.h”: No such file or directory
D:\anaconda3\envs\msmd-1\lib\site-packages\torch\utils\cpp_extension.py:305: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
  warnings.warn(f'Error checking compiler version for {compiler}: {error}')
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

如果您能在百忙中解答我的疑惑我将万分感谢。

SxJyJay commented 1 year ago

It seems that your CUDA toolkit is not complete because "cuda_runtime_api.h" file is missing. In addition, I recommend you to set up your environment and codebase on the Linux platform.

YuRui-Learning commented 1 year ago

`Using pip 22.3.1 from /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/pip (python 3.7) Obtaining file:///root/MSMDFusion-main/mmdetection3d Running command python setup.py egg_info running egg_info creating /tmp/pip-pip-egg-info-ap4miqgj/mmdet3d.egg-info writing manifest file '/tmp/pip-pip-egg-info-ap4miqgj/mmdet3d.egg-info/SOURCES.txt' warning: no files found matching 'mmdet3d/ops//*.cpp' warning: no files found matching 'mmdet3d/ops/*/.cu' warning: no files found matching 'mmdet3d/ops//*.h' warning: no files found matching 'mmdet3d/ops/*/.cc' warning: no files found matching 'mmdet3d/VERSION' writing manifest file '/tmp/pip-pip-egg-info-ap4miqgj/mmdet3d.egg-info/SOURCES.txt' Preparing metadata (setup.py) ... done Requirement already satisfied: lyft_dataset_sdk in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (0.0.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/39/4b/4e7edbd1d817e29bf34c2f37f4d50084c53c43e0d11a9d1e2d785bfa9496/networkx-2.7rc1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/ae/46/37330e9c24cf345e05ad229d2d3446f7f359854b770e3cfcb48218cf6469/networkx-2.7rc1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/62/a7/ba10c993ad5e33014869eff955c59230a4159c05a2e792c26ca1e9434ff3/networkx-2.7-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/46/c7/7d4059af100345541e8e96f75bac3e6fb8c8c9b83d34764cf19e3a8e90a4/networkx-2.7.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/f6/34/4913f651b8e178dde5abcf8d62495e4dcd0757a9a6840f1b1f7a290afaea/networkx-2.7.1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/9e/9e/3d67df5d543ffd743f4ccb12c9c90929e4f48136e3062e15a6d971d91202/networkx-2.7.1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/32/54/3c7a60f6d545376dfa63cb4849b666f550cdd5b8c6eb94b4721cfcd678fe/networkx-2.8rc1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/e2/e5/a389aad567af2a156e428a5feea148a18ea913b03437c2c1ede9b0af96d0/networkx-2.8rc1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/df/04/416751fe793a10a9b1c786d8dd93b80190ae745b3c9cb847c8f84fd119c2/networkx-2.8-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/3f/5e/5e9ae193c6384bd47aae5bc9bd2c48db7115f483b0ff9fef7d263e3dbb09/networkx-2.8.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/ab/2e/eb6689f6e4871676e378d7f627a47fb62a14152da8d42e10f1344e0ff2c8/networkx-2.8.1rc1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/61/64/71eaf03eed2d5dc730855331ad25436373ea7e6bfda212a5ff890a027184/networkx-2.8.1rc1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/b9/2b/d7f2eb2c046bde48303b46d6467086b4aae60852e154f36fff0cf02fe35a/networkx-2.8.1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/66/64/cd37ea7f9dd04747e978e3fd3dd37d7fe02996e45bc489d5fa0fd0b2d027/networkx-2.8.1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/b3/cd/9856de630a7a7bb298e983c7d6bf5dd7810ae0092976b0da829dd66c42a7/networkx-2.8.2-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/4a/e2/1f9d6cf8562cf2bde58c102db70fe48d2d9652ec256f86bab6b279601b0d/networkx-2.8.2.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/4c/92/e2690ac6ecae3e5641fa49d49d93a7e3d4afc7e22574fa0514a2f513348e/networkx-2.8.3-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/78/6c/85c0664365d32a32806bd12d46ea5dc466aa3aa7e8086e5daf3505b8cf33/networkx-2.8.3.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/34/71/1d6f7aaefa2fb38ea8c13dc47f3e2a32c4dc78f6229086ed90947fc49d3c/networkx-2.8.4-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/5d/3b/9ca0d8bbfbf418eb158fe7b8a5e4233ddc390d995cfb1dd32726dba8c8e5/networkx-2.8.4.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/95/1b/14b5b17c52f7329b875e4ad2dcad23c808778b42ef6d250a7223d4dc378a/networkx-2.8.5-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/f2/af/fe794d69bcc4882c4905b49c8b207b8dc4dd7ea26e6142781eac8203ea05/networkx-2.8.5.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/be/25/5b0fc262a2f2d7d11c22cb7785edf2befc756ae076b383034e79e255eb11/networkx-2.8.6-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/d9/c6/ad9dc9195c0e5d8879d2a28667aa45e087631576b40f9c954a086693a36d/networkx-2.8.6.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/d0/00/1713dd6735d5a646cabdd99ff750e969795134d7d33f462ad71dfd07fa76/networkx-2.8.7-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/9e/89/90846e0da5c412cbffb66d1f976b056cd46c6f2aa7f2f1eb271573b5fefb/networkx-2.8.7.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/42/31/d2f89f1ae42718f8c8a9e440ebe38d7d5fe1e0d9eb9178ce779e365b3ab0/networkx-2.8.8-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/cd/16/c44e8550012735b8f21b3df7f39e8ba5a987fb764ac017ad5f3589735889/networkx-2.8.8.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/32/82/af269f8d5dcfd17103d0ccbd3fd55717ba774f49f4aafc32802e52d62b64/networkx-3.0b1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/45/64/93bda68a35b8c395a0e02fac3dce5a586f66eb547b61acc891e96e846b6d/networkx-3.0b1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/a6/5e/daeb8a6b7365d1518ea0075ae6d6eb882b1dd93f7089bf69577295eb4a29/networkx-3.0rc1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/59/92/8c09b01b4427760d745e38ec094ba4650849af43c0655136cb52ccb9c0e7/networkx-3.0rc1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/11/eb/929b1a04b1778f4dd606c739c93c134306e4a31012e31e184c8308f3d985/networkx-3.0-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/99/f9/d45c9ecf50a6b67a200e0bbd324201b5cd777dfc0e6c8f6d1620ce5a7ada/networkx-3.0.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/0b/16/6da0f2af01ef4a77af6345e767f7db6264418bb359b884012de4c2f79e7a/networkx-3.1rc0-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/4e/3c/cb6a766dc6b7ea1f1fe54619ec40037d5e3ca6c557ceba2d52ebf7d8051b/networkx-3.1rc0.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/a8/05/9d4f9b78ead6b2661d6e8ea772e111fc4a9fbd866ad0c81906c11206b55e/networkx-3.1-py3-none-any.whl (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Link requires a different Python (3.7.16 not in: '>=3.8'): https://files.pythonhosted.org/packages/fd/a1/47b974da1a73f063c158a1f4cc33ed0abf7c04f98a19050e80c533c31f0c/networkx-3.1.tar.gz (from https://pypi.org/simple/networkx/) (requires-python:>=3.8) Collecting networkx<2.3,>=2.2 Using cached networkx-2.2-py2.py3-none-any.whl Requirement already satisfied: numba==0.48.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (0.48.0) Requirement already satisfied: numpy<1.20.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (1.19.5) Requirement already satisfied: nuscenes-devkit in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (1.1.10) Requirement already satisfied: plyfile in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (0.9) Requirement already satisfied: scikit-image in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (0.19.3) Requirement already satisfied: tensorboard in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (2.11.2) Requirement already satisfied: trimesh<2.35.40,>=2.35.39 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from mmdet3d==0.11.0) (2.35.39) Requirement already satisfied: llvmlite<0.32.0,>=0.31.0dev0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from numba==0.48.0->mmdet3d==0.11.0) (0.31.0) Requirement already satisfied: setuptools in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from numba==0.48.0->mmdet3d==0.11.0) (60.2.0) Requirement already satisfied: decorator>=4.3.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from networkx<2.3,>=2.2->mmdet3d==0.11.0) (5.1.1) Requirement already satisfied: scipy in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from trimesh<2.35.40,>=2.35.39->mmdet3d==0.11.0) (1.7.3) Requirement already satisfied: Shapely>=1.6.4.post2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (1.8.5) Requirement already satisfied: cachetools>=3.1.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (5.3.1) Requirement already satisfied: black in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (23.3.0) Requirement already satisfied: pyquaternion>=0.9.5 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (0.9.9) Requirement already satisfied: opencv-python>=3.4.2.17 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (4.8.1.78) Requirement already satisfied: plotly in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (5.17.0) Requirement already satisfied: scikit-learn>=0.19.2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (1.0.2) Requirement already satisfied: pandas in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (1.3.5) Requirement already satisfied: Pillow>=5.2.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (9.5.0) Requirement already satisfied: tqdm>=4.25.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (4.65.2) Requirement already satisfied: flake8 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (3.9.2) Requirement already satisfied: matplotlib in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (3.5.2) Requirement already satisfied: pytest in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (7.4.2) Requirement already satisfied: fire in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from lyft_dataset_sdk->mmdet3d==0.11.0) (0.5.0) Requirement already satisfied: jupyter in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nuscenes-devkit->mmdet3d==0.11.0) (1.0.0) Requirement already satisfied: pycocotools>=2.0.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nuscenes-devkit->mmdet3d==0.11.0) (2.0.7) Requirement already satisfied: descartes in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nuscenes-devkit->mmdet3d==0.11.0) (1.1.0) Requirement already satisfied: PyWavelets>=1.1.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from scikit-image->mmdet3d==0.11.0) (1.3.0) Requirement already satisfied: tifffile>=2019.7.26 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from scikit-image->mmdet3d==0.11.0) (2021.11.2) Requirement already satisfied: packaging>=20.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from scikit-image->mmdet3d==0.11.0) (23.2) Requirement already satisfied: imageio>=2.4.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from scikit-image->mmdet3d==0.11.0) (2.31.2) Requirement already satisfied: google-auth<3,>=1.6.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (2.23.2) Requirement already satisfied: requests<3,>=2.21.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (2.28.2) Requirement already satisfied: protobuf<4,>=3.9.2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (3.20.3) Requirement already satisfied: markdown>=2.6.8 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (3.4.4) Requirement already satisfied: absl-py>=0.4 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (2.0.0) Requirement already satisfied: grpcio>=1.24.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (1.59.0) Requirement already satisfied: wheel>=0.26 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (0.38.4) Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (1.8.1) Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (0.4.6) Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (0.6.1) Requirement already satisfied: werkzeug>=1.0.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from tensorboard->mmdet3d==0.11.0) (2.2.3) Requirement already satisfied: rsa<5,>=3.1.4 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard->mmdet3d==0.11.0) (4.9) Requirement already satisfied: pyasn1-modules>=0.2.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard->mmdet3d==0.11.0) (0.3.0) Requirement already satisfied: requests-oauthlib>=0.7.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard->mmdet3d==0.11.0) (1.3.1) Requirement already satisfied: importlib-metadata>=4.4 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from markdown>=2.6.8->tensorboard->mmdet3d==0.11.0) (6.7.0) Requirement already satisfied: python-dateutil>=2.7 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==0.11.0) (2.8.2) Requirement already satisfied: kiwisolver>=1.0.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==0.11.0) (1.4.5) Requirement already satisfied: fonttools>=4.22.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==0.11.0) (4.38.0) Requirement already satisfied: cycler>=0.10 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==0.11.0) (0.11.0) Requirement already satisfied: pyparsing>=2.2.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from matplotlib->lyft_dataset_sdk->mmdet3d==0.11.0) (3.1.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==0.11.0) (1.26.17) Requirement already satisfied: charset-normalizer<4,>=2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==0.11.0) (3.3.0) Requirement already satisfied: certifi>=2017.4.17 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==0.11.0) (2022.12.7) Requirement already satisfied: idna<4,>=2.5 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->mmdet3d==0.11.0) (3.4) Requirement already satisfied: threadpoolctl>=2.0.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from scikit-learn>=0.19.2->lyft_dataset_sdk->mmdet3d==0.11.0) (3.1.0) Requirement already satisfied: joblib>=0.11 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from scikit-learn>=0.19.2->lyft_dataset_sdk->mmdet3d==0.11.0) (1.3.2) Requirement already satisfied: MarkupSafe>=2.1.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from werkzeug>=1.0.1->tensorboard->mmdet3d==0.11.0) (2.1.3) Requirement already satisfied: click>=8.0.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (8.1.7) Requirement already satisfied: typed-ast>=1.4.2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (1.5.5) Requirement already satisfied: typing-extensions>=3.10.0.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (4.7.1) Requirement already satisfied: pathspec>=0.9.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (0.11.2) Requirement already satisfied: tomli>=1.1.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (2.0.1) Requirement already satisfied: mypy-extensions>=0.4.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (1.0.0) Requirement already satisfied: platformdirs>=2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from black->lyft_dataset_sdk->mmdet3d==0.11.0) (3.11.0) Requirement already satisfied: termcolor in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from fire->lyft_dataset_sdk->mmdet3d==0.11.0) (2.3.0) Requirement already satisfied: six in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from fire->lyft_dataset_sdk->mmdet3d==0.11.0) (1.16.0) Requirement already satisfied: pyflakes<2.4.0,>=2.3.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from flake8->lyft_dataset_sdk->mmdet3d==0.11.0) (2.3.1) Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from flake8->lyft_dataset_sdk->mmdet3d==0.11.0) (0.6.1) Requirement already satisfied: pycodestyle<2.8.0,>=2.7.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from flake8->lyft_dataset_sdk->mmdet3d==0.11.0) (2.7.0) Requirement already satisfied: qtconsole in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter->nuscenes-devkit->mmdet3d==0.11.0) (5.4.4) Requirement already satisfied: ipywidgets in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter->nuscenes-devkit->mmdet3d==0.11.0) (8.1.1) Requirement already satisfied: jupyter-console in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter->nuscenes-devkit->mmdet3d==0.11.0) (6.6.3) Requirement already satisfied: nbconvert in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter->nuscenes-devkit->mmdet3d==0.11.0) (7.4.0) Requirement already satisfied: notebook in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter->nuscenes-devkit->mmdet3d==0.11.0) (6.5.6) Requirement already satisfied: ipykernel in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter->nuscenes-devkit->mmdet3d==0.11.0) (6.16.2) Requirement already satisfied: pytz>=2017.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from pandas->lyft_dataset_sdk->mmdet3d==0.11.0) (2023.3.post1) Requirement already satisfied: tenacity>=6.2.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from plotly->lyft_dataset_sdk->mmdet3d==0.11.0) (8.2.3) Requirement already satisfied: exceptiongroup>=1.0.0rc8 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from pytest->lyft_dataset_sdk->mmdet3d==0.11.0) (1.1.3) Requirement already satisfied: iniconfig in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from pytest->lyft_dataset_sdk->mmdet3d==0.11.0) (2.0.0) Requirement already satisfied: pluggy<2.0,>=0.12 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from pytest->lyft_dataset_sdk->mmdet3d==0.11.0) (1.2.0) Requirement already satisfied: zipp>=0.5 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard->mmdet3d==0.11.0) (3.15.0) Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard->mmdet3d==0.11.0) (0.5.0) Requirement already satisfied: oauthlib>=3.0.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard->mmdet3d==0.11.0) (3.2.2) Requirement already satisfied: pyzmq>=17 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (24.0.1) Requirement already satisfied: traitlets>=5.1.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (5.9.0) Requirement already satisfied: tornado>=6.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (6.2) Requirement already satisfied: psutil in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (5.9.5) Requirement already satisfied: debugpy>=1.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.7.0) Requirement already satisfied: matplotlib-inline>=0.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.1.6) Requirement already satisfied: nest-asyncio in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.5.8) Requirement already satisfied: ipython>=7.23.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (7.34.0) Requirement already satisfied: jupyter-client>=6.1.12 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (7.4.9) Requirement already satisfied: comm>=0.1.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipywidgets->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.1.4) Requirement already satisfied: jupyterlab-widgets~=3.0.9 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipywidgets->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (3.0.9) Requirement already satisfied: widgetsnbextension~=4.0.9 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipywidgets->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (4.0.9) Requirement already satisfied: pygments in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter-console->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.16.1) Requirement already satisfied: prompt-toolkit>=3.0.30 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter-console->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (3.0.39) Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter-console->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (4.12.0) Requirement already satisfied: defusedxml in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.7.1) Requirement already satisfied: nbclient>=0.5.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.7.4) Requirement already satisfied: tinycss2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.2.1) Requirement already satisfied: jinja2>=3.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (3.1.2) Requirement already satisfied: bleach in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (6.0.0) Requirement already satisfied: beautifulsoup4 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (4.12.2) Requirement already satisfied: jupyterlab-pygments in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.2.2) Requirement already satisfied: nbformat>=5.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (5.5.0) Requirement already satisfied: mistune<3,>=2.0.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.0.5) Requirement already satisfied: pandocfilters>=1.4.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.5.0) Requirement already satisfied: argon2-cffi in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (23.1.0) Requirement already satisfied: Send2Trash>=1.8.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.8.2) Requirement already satisfied: terminado>=0.8.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.17.1) Requirement already satisfied: nbclassic>=0.4.7 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.0.0) Requirement already satisfied: prometheus-client in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.17.1) Requirement already satisfied: ipython-genutils in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.2.0) Requirement already satisfied: qtpy>=2.4.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from qtconsole->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.4.0) Requirement already satisfied: backcall in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.2.0) Requirement already satisfied: pexpect>4.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (4.8.0) Requirement already satisfied: jedi>=0.16 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.19.1) Requirement already satisfied: pickleshare in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.7.5) Requirement already satisfied: entrypoints in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter-client>=6.1.12->ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.4) Requirement already satisfied: notebook-shim>=0.2.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbclassic>=0.4.7->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.2.3) Requirement already satisfied: jupyter-server>=1.8 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbclassic>=0.4.7->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.24.0) Requirement already satisfied: fastjsonschema in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbformat>=5.1->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.18.1) Requirement already satisfied: jsonschema>=2.6 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from nbformat>=5.1->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (4.17.3) Requirement already satisfied: wcwidth in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from prompt-toolkit>=3.0.30->jupyter-console->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.2.8) Requirement already satisfied: ptyprocess in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from terminado>=0.8.3->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.7.0) Requirement already satisfied: argon2-cffi-bindings in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from argon2-cffi->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (21.2.0) Requirement already satisfied: soupsieve>1.2 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from beautifulsoup4->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.4.1) Requirement already satisfied: webencodings in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from bleach->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.5.1) Requirement already satisfied: parso<0.9.0,>=0.8.3 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.8.3) Requirement already satisfied: importlib-resources>=1.4.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (5.12.0) Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (0.19.3) Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.3.10) Requirement already satisfied: attrs>=17.4.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jsonschema>=2.6->nbformat>=5.1->nbconvert->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (23.1.0) Requirement already satisfied: anyio<4,>=3.1.0 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (3.7.1) Requirement already satisfied: websocket-client in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.6.1) Requirement already satisfied: cffi>=1.0.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from argon2-cffi-bindings->argon2-cffi->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.15.1) Requirement already satisfied: sniffio>=1.1 in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from anyio<4,>=3.1.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (1.3.0) Requirement already satisfied: pycparser in /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook->jupyter->nuscenes-devkit->mmdet3d==0.11.0) (2.21) Installing collected packages: networkx, mmdet3d Attempting uninstall: networkx Found existing installation: networkx 2.5 Uninstalling networkx-2.5: Removing file or directory /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/networkx-2.5.dist-info/ Removing file or directory /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/networkx/ Removing file or directory /root/anaconda3/envs/open-mmlab/share/doc/networkx-2.5/ Successfully uninstalled networkx-2.5 Running setup.py develop for mmdet3d Running command python setup.py develop running develop running egg_info /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, warning: no files found matching 'mmdet3d/ops//*.cpp' warning: no files found matching 'mmdet3d/ops/*/.cu' warning: no files found matching 'mmdet3d/ops//*.h' warning: no files found matching 'mmdet3d/ops/*/.cc' warning: no files found matching 'mmdet3d/VERSION' writing manifest file 'mmdet3d.egg-info/SOURCES.txt' running build_ext Emitting ninja build file /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/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 /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/reordering.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/reordering.cc -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/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="_cxxabi1013"' -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++ [2/7] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/maxpool.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/maxpool.cc -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/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="_cxxabi1013"' -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++ [3/7] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/indice.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/indice.cc -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/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="_cxxabi1013"' -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++ [4/7] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/all.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/all.cc -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/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="_cxxabi1013"' -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++ [5/7] /usr/local/cuda-11.3/bin/nvcc -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/indice_cuda.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/indice_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [6/7] /usr/local/cuda-11.3/bin/nvcc -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/reordering_cuda.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/reordering_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [7/7] /usr/local/cuda-11.3/bin/nvcc -DWITH_CUDA -I/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/spconv/src/maxpool_cuda.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/maxpool_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -w -std=c++14 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=sparse_conv_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). g++ -pthread -shared -B /root/anaconda3/envs/open-mmlab/compiler_compat -L/root/anaconda3/envs/open-mmlab/lib -Wl,-rpath=/root/anaconda3/envs/open-mmlab/lib -Wl,--no-as-needed -Wl,--sysroot=/ /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/all.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/indice.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/indice_cuda.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/maxpool.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/maxpool_cuda.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/reordering.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/spconv/src/reordering_cuda.o -L/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda-11.3/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.7/mmdet3d/ops/spconv/sparse_conv_ext.cpython-37m-x86_64-linux-gnu.so Emitting ninja build file /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/2] /usr/local/cuda-11.3/bin/nvcc -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/iou3d/src/iou3d_kernel.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/iou3d/src/iou3d_kernel.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=iou3d_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [2/2] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/iou3d/src/iou3d.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/iou3d/src/iou3d.cpp -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/iou3d/src/iou3d.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=iou3d_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ g++ -pthread -shared -B /root/anaconda3/envs/open-mmlab/compiler_compat -L/root/anaconda3/envs/open-mmlab/lib -Wl,-rpath=/root/anaconda3/envs/open-mmlab/lib -Wl,--no-as-needed -Wl,--sysroot=/ /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/iou3d/src/iou3d.o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/iou3d/src/iou3d_kernel.o -L/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda-11.3/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.7/mmdet3d/ops/iou3d/iou3d_cuda.cpython-37m-x86_64-linux-gnu.so Emitting ninja build file /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/5] /usr/local/cuda-11.3/bin/nvcc -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/scatter_points_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=voxel_layer -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14 FAILED: /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/scatter_points_cuda.o /usr/local/cuda-11.3/bin/nvcc -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/scatter_points_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=voxel_layer -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(242): error: class "at::Tensor" has no member "max_values"

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: type name is not allowed

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: expected an expression

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: no instance of function template "coors_id_kernel" matches the argument list
            argument types are: (uint8_t *, <error-type>, int64_t *, const int, const int)

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: type name is not allowed

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: expected an expression

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: no instance of function template "coors_id_kernel" matches the argument list
            argument types are: (int8_t *, <error-type>, int64_t *, const int, const int)

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: type name is not allowed

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: expected an expression

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: no instance of function template "coors_id_kernel" matches the argument list
            argument types are: (int32_t *, <error-type>, int64_t *, const int, const int)

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: type name is not allowed

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: expected an expression

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: no instance of function template "coors_id_kernel" matches the argument list
            argument types are: (int64_t *, <error-type>, int64_t *, const int, const int)

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: type name is not allowed

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: expected an expression

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: no instance of function template "coors_id_kernel" matches the argument list
            argument types are: (int16_t *, <error-type>, int64_t *, const int, const int)

/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(274): error: no instance of overloaded function "at::Tensor::index_put_" matches the argument list
            argument types are: (at::Tensor, at::Tensor)
            object type is: at::Tensor

17 errors detected in the compilation of "/root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu".
[2/5] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/voxelization_cpu.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/voxelization_cpu.cpp -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/voxelization_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=voxel_layer -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[3/5] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/scatter_points_cpu.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cpu.cpp -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/scatter_points_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=voxel_layer -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[4/5] c++ -MMD -MF /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/voxelization.o.d -pthread -B /root/anaconda3/envs/open-mmlab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/voxelization.cpp -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/voxelization.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=voxel_layer -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[5/5] /usr/local/cuda-11.3/bin/nvcc  -DWITH_CUDA -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/TH -I/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/root/anaconda3/envs/open-mmlab/include/python3.7m -c -c /root/MSMDFusion-main/mmdetection3d/mmdet3d/ops/voxel/src/voxelization_cuda.cu -o /root/MSMDFusion-main/mmdetection3d/build/temp.linux-x86_64-3.7/mmdet3d/ops/voxel/src/voxelization_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'"'"'' -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="_cxxabi1013"' -DTORCH_EXTENSION_NAME=voxel_layer -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_35,code=sm_35 -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=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1814, in _run_ninja_build
    env=env)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
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 36, in <module>
  File "<pip-setuptools-caller>", line 34, in <module>
  File "/root/MSMDFusion-main/mmdetection3d/setup.py", line 248, in <module>
    zip_safe=False)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/__init__.py", line 155, in setup
    return distutils.core.setup(**attrs)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
    self.run_command('build_ext')
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
    build_ext.build_extensions(self)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
    _build_ext.build_extension(self, ext)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 595, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1492, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/root/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1824, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /root/anaconda3/envs/open-mmlab/bin/python -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
#   import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
#   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
#     manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize

try:
    import setuptools
except ImportError as error:
    print(
        "ERROR: Can not execute `setup.py` since setuptools is not available in "
        "the build environment.",
        file=sys.stderr,
    )
    sys.exit(1)

__file__ = %r
sys.argv[0] = __file__

if os.path.exists(__file__):
    filename = __file__
    with tokenize.open(__file__) as f:
        setup_py_code = f.read()
else:
    filename = "<auto-generated setuptools caller>"
    setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/root/MSMDFusion-main/mmdetection3d/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' develop --no-deps
cwd: /root/MSMDFusion-main/mmdetection3d/

error: subprocess-exited-with-error

× python setup.py develop did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.`

YuRui-Learning commented 1 year ago

hello , i also meet some problem when i pip install -v -e . ,coulud u help me about this

SxJyJay commented 1 year ago

hello , i also meet some problem when i pip install -v -e . ,coulud u help me about this

Maybe you can refer to here. If cannot make it, I suggest that you reinstall your environment following the library versions I provided.

Libraaer commented 1 month ago

Hi, Thanks for your open-source code, I'm trying to reappear your code. Although I complete the preprocess of nuscenes, I failed in training stage due to the unknown version of python library. Could you provide the current version of cuda, python, pytorch, torch-scatter, mmcv-full, mmdetection, spconv-2 in MSMDFusion? Thanks a lot!

Hello, have you trained this model? I'm using A800 here but still not enough to train. If you've trained, can you give me an answer to the reason for my lack of memory here, thank you