安装
$ pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
$ pip install torch-points3d
$ pip install ipython
$ pip install trame
$ pip install h5py
$ pip install gdown
案例
from torch_points3d.applications.pointnet2 import PointNet2
from torch_points3d.applications.kpconv import KPConv
from torch_points3d.applications.minkowski import Minkowski
from torch_points3d.applications.rsconv import RSConv
from torch_points3d.applications.votenet import VoteNet
常见问题汇总
[Errno 2] No such file or directory: ‘llvm-config’
sudo apt install llvm-8-dev
sudo ln -s /usr/bin/llvm-config-8 /usr/bin/llvm-config
检查一下
llvm-config --version
AttributeError: module ‘numpy‘ has no attribute ‘long‘
replace numpy version with文章来源:https://www.toymoban.com/news/detail-670504.html
pip install numpy==1.23.0
error: subprocess-exited-with-error
文章来源地址https://www.toymoban.com/news/detail-670504.html
到了这里,关于【点云分割】points3d框架学习01 —— 安装和配置的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!