‘quaternion_to_rotation_matrix‘ is being compiled since it was called from ‘quat_to_mat‘

目录

解决方法:

编译 ingroup-inds库

安装spconv

2023年直接安装:

自己编译安装

Linux and windows

Linux

Windows 10/11


解决方法:

pip install kornia==0.6.8

转自:

安装OpenPCDet跑通PointRCNN_av2.utils.io-CSDN博客

编译 ingroup-inds库

编译ingroup-inds库时报错了,需要修改代码,修改的代码链接:

原创不易,希望多多支持:

https://download.csdn.net/download/jacke121/88670867

复现深度学习源码时遇到的问题及解决方案_build\lib.win-amd64-3.8\fmoe_cuda.cp38-win_amd64.p-CSDN博客

安装spconv

2023年直接安装:

pip install spconv-cu118

自己编译安装

spconv,确保torch的版本是1.4.0:

git clone https://github.com/AbangLZU/spconv.git  --recursive

编译:

python setup.py bdist_wheel

安装:

cd dist/
pip install the_wheel_file_you_produced.whl

原文链接:https://blog.csdn.net/xjblalala/article/details/129162949

Linux and windows

Linux

  1. install build-essential, install CUDA
  2. run export SPCONV_DISABLE_JIT="1"
  3. run python setup.py bdist_wheel+pip install dists/xxx.whl

Windows 10/11

  1. install visual studio 2019 or newer. make sure C++ development package is installed. install CUDA
  2. set powershell script execution policy
  3. start a new powershell, run tools/msvc_setup.ps1
  4. run $Env:SPCONV_DISABLE_JIT = "1"
  5. run python setup.py bdist_wheel+pip install dists/xxx.whl

你可能感兴趣的:(自动驾驶,python)