Open yukaizhou opened 1 year ago
(bevdepth_sec) root@workspace:/dfs/data/code_python/detection_3d/BEVDepth# pip list Package Version Editable project location
absl-py 1.2.0 addict 2.4.0 aiohttp 3.8.4 aiosignal 1.3.1 alabaster 0.7.13 anybadge 1.14.0 appdirs 1.4.4 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 arrow 1.2.1 aspy.refactor-imports 3.0.2 astroid 2.14.2 asttokens 2.0.8 async-timeout 4.0.2 attrs 22.1.0 autoflake 1.4 Babel 2.11.0 backcall 0.2.0 beautifulsoup4 4.11.1 black 20.8b1 bleach 5.0.1 cachetools 5.2.0 certifi 2022.6.15 cffi 1.15.1 cfgv 3.3.1 charset-normalizer 2.1.1 click 8.0.3 colorama 0.4.6 commonmark 0.9.1 coverage 7.1.0 css-html-js-minify 2.5.5 cycler 0.11.0 debugpy 1.6.3 decorator 5.1.1 defusedxml 0.7.1 descartes 1.1.0 distlib 0.3.6 docutils 0.16 entrypoints 0.4 executing 0.10.0 fastjsonschema 2.16.1 filelock 3.9.0 fire 0.4.0 flake8 4.0.1 flake8-polyfill 1.0.2 fonttools 4.36.0 frozenlist 1.3.3 fsspec 2023.1.0 future 0.18.3 gitlint 0.18.0 gitlint-core 0.18.0 google-auth 2.11.0 google-auth-oauthlib 0.4.6 grpcio 1.47.0 huggingface-hub 0.12.0 identify 2.5.18 idna 3.3 imageio 2.4.1 imagesize 1.4.1 importlib-metadata 4.12.0 importlib-resources 5.9.0 iniconfig 1.1.1 ipdb 0.13.11 ipykernel 6.15.1 ipython 8.4.0 ipython-genutils 0.2.0 ipywidgets 8.0.1 isort 4.3.21 jedi 0.18.1 Jinja2 3.1.2 joblib 1.1.0 jsonschema 4.14.0 jupyter 1.0.0 jupyter-client 7.3.4 jupyter-console 6.4.4 jupyter-core 4.11.1 jupyterlab-pygments 0.2.2 jupyterlab-widgets 3.0.2 kiwisolver 1.4.4 lazy-object-proxy 1.9.0 llvmlite 0.36.0 lxml 4.9.1 lyft-dataset-sdk 0.0.8 mando 0.6.4 Markdown 3.4.1 MarkupSafe 2.1.1 matplotlib 3.5.3 matplotlib-inline 0.1.6 mccabe 0.6.1 mistune 2.0.4 mmcls 0.25.0 mmcv-full 1.5.2 mmdet 2.24.0 mmdet3d 1.0.0rc4 /dfs/data/code_python/detection_3d/BEVDepth/bevdepth/mmdetection3d-1.0.0rc4 mmsegmentation 0.26.0 multidict 6.0.4 mypy-extensions 0.4.3 nbclient 0.6.7 nbconvert 7.0.0 nbformat 5.4.0 nbsphinx 0.8.12 nest-asyncio 1.5.5 networkx 2.2 nodeenv 1.7.0 notebook 6.4.12 numba 0.53.0 numpy 1.19.5 nuscenes-devkit 1.1.9 oauthlib 3.2.0 opencv-python 4.6.0.66 opencv-python-headless 4.7.0.68 packaging 21.3 pandas 1.4.3 pandocfilters 1.5.0 parso 0.8.3 pathspec 0.9.0 pexpect 4.8.0 pickleshare 0.7.5 Pillow 9.2.0 pip 22.1.2 pkgutil_resolve_name 1.3.10 platformdirs 2.5.2 plotly 5.10.0 pluggy 1.0.0 plyfile 0.7.4 pre-commit 3.0.4 prettytable 3.3.0 prometheus-client 0.14.1 prompt-toolkit 3.0.30 protobuf 3.19.4 psutil 5.9.1 ptyprocess 0.7.0 pure-eval 0.2.2 py 1.11.0 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycocotools 2.0.4 pycodestyle 2.8.0 pycparser 2.21 pyDeprecate 0.3.2 pyflakes 2.4.0 Pygments 2.13.0 pylint 2.3.1 pyparsing 3.0.9 pyquaternion 0.9.9 pyrsistent 0.18.1 pytest 7.1.2 pytest-cov 4.0.0 python-dateutil 2.8.2 python-slugify 8.0.0 pytorch-lightning 1.6.0 pytz 2022.2.1 PyWavelets 1.1.1 PyYAML 6.0 pyzmq 23.2.1 qtconsole 5.3.1 QtPy 2.2.0 radon 4.2.0 recommonmark 0.7.1 regex 2022.10.31 requests 2.28.1 requests-oauthlib 1.3.1 rsa 4.9 scikit-image 0.19.3 scikit-learn 1.1.2 scipy 1.9.0 seed-isort-config 2.2.0 Send2Trash 1.8.0 setuptools 59.5.0 sh 1.14.2 Shapely 1.8.4 six 1.16.0 snowballstemmer 2.2.0 soupsieve 2.3.2.post1 Sphinx 3.5.4 sphinx-markdown-tables 0.0.17 sphinx-material 0.0.35 sphinxcontrib-applehelp 1.0.4 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 2.0.1 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.5 stack-data 0.4.0 tenacity 8.0.1 tensorboard 2.10.0 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorboardX 2.6 termcolor 1.1.0 terminado 0.15.0 terminaltables 3.1.10 text-unidecode 1.3 threadpoolctl 3.1.0 tifffile 2019.7.26 timm 0.6.12 tinycss2 1.1.1 toml 0.10.2 tomli 2.0.1 torch 1.9.0 torchmetrics 0.11.1 torchvision 0.10.0 tornado 6.2 tqdm 4.64.0 traitlets 5.3.0 trimesh 2.35.39 typed-ast 1.5.4 typing_extensions 4.3.0 Unidecode 1.3.6 urllib3 1.26.12 virtualenv 20.19.0 wcwidth 0.2.5 webencodings 0.5.1 Werkzeug 2.2.2 wheel 0.37.1 widgetsnbextension 4.0.2 wrapt 1.14.1 yapf 0.32.0 yarl 1.8.2 zipp 3.8.1
你好,问题解决了么
你好,问题解决了么
没有呢,你也遇到了吗?有没有解决呢?
pip install torch==1.9.0+rocm4.2 torchvision==0.10.0+rocm4.2 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.9.0+rocm4.1 torchvision==0.10.0+rocm4.1 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.9.0+rocm4.0.1 torchvision==0.10.0+rocm4.0.1 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.9.0+cpu torchvision==0.10.0+cpu torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_sta 用这个重新安装pytorch可以了
我用的是这个 pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
我试了几乎所有版本的torch都没解决这个问题
我也遇到了这个bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu(60): error: no instance of overloaded function "atomicAdd" matches the argument list错误,,是不是和硬件有关?我用的3080,唉,试了很多pytorch版本了已经
(bevdepth_sec) root@workspace:/dfs/data/code_python/detection_3d/BEVDepth# pip install -e . -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.comLooking in indexes: http://mirrors.aliyun.com/pypi/simple/ Obtaining file:///dfs/data/code_python/detection_3d/BEVDepth Preparing metadata (setup.py) ... done Installing collected packages: BEVDepth Running setup.py develop for BEVDepth error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully. │ exit code: 1 ╰─> [147 lines of output] running develop running egg_info writing BEVDepth.egg-info/PKG-INFO writing dependency_links to BEVDepth.egg-info/dependency_links.txt writing top-level names to BEVDepth.egg-info/top_level.txt reading manifest file 'BEVDepth.egg-info/SOURCES.txt' adding license file 'LICENSE.md' writing manifest file 'BEVDepth.egg-info/SOURCES.txt' running build_ext building 'bevdepth.ops.voxel_pooling_train.voxel_pooling_train_ext' extension Emitting ninja build file /dfs/data/code_python/detection_3d/BEVDepth/build/temp.linux-x86_64-3.8/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) /dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( [1/2] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/TH -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/TH -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/dfs/data/anaconda/envs/bevdepth_sec/include/python3.8 -c -c /dfs/data/code_python/detection_3d/BEVDepth/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu -o /dfs/data/code_python/detection_3d/BEVDepth/build/temp.linux-x86_64-3.8/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_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="_cxxabi1011"' -DTORCH_EXTENSION_NAME=voxel_pooling_train_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52 -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: /dfs/data/code_python/detection_3d/BEVDepth/build/temp.linux-x86_64-3.8/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.o /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/TH -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/TH -I/dfs/data/anaconda/envs/bevdepth_sec/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/dfs/data/anaconda/envs/bevdepth_sec/include/python3.8 -c -c /dfs/data/code_python/detection_3d/BEVDepth/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu -o /dfs/data/code_python/detection_3d/BEVDepth/build/temp.linux-x86_64-3.8/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_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="_cxxabi1011"' -DTORCH_EXTENSION_NAME=voxel_pooling_train_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52 -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 /dfs/data/code_python/detection_3d/BEVDepth/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu(60): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half , const half) detected during instantiation of "void voxel_pooling_train_forward_kernel(int, int, int, int, int, int, const int , const T , T , int *) [with T=half]" (99): here
note: This error originates from a subprocess, and is likely not a problem with pip. (bevdepth_sec) root@workspace:/dfs/data/code_python/detection_3d/BEVDepth# g++ -version g++: error: unrecognized command line option ‘-version’ g++: fatal error: no input files compilation terminated.