延安市网站建设_网站建设公司_留言板_seo优化
2026/1/1 2:38:28 网站建设 项目流程

原始版本

https://github.com/naver/mast3r

 

加速版本  必须cuda12.1 装不上

peedy MASt3R 在不影响准确率的情况下,将推理时间缩短了 54%(每对图像从 198 毫秒缩短至 91 毫秒)。这一改进实现实时 3D 理解,助力MR导航和大规模 3D 场景重建等应用。

 https://github.com/ASU-ESIC-FAN-Lab/speedy_mast3r
 
  1. 克隆 MASt3R。
git clone --recursive https://github.com/naver/mast3r
cd mast3r
git submodule update --init --recursive
  1. 创建环境,这里我们以 conda 为例进行说明。 注意适配自己的环境
conda create -n mast3r python=3.11 cmake=3.14.0
conda activate mast3r 
conda install pytorch=2.7 torchvision pytorch-cuda=11.8 -c pytorch -c nvidia  # use the correct version of cuda for your system
pip install -r requirements.txt
pip install -r dust3r/requirements.txt
# Optional: you can also install additional packages to:
# - add support for HEIC images
# - add required packages for visloc.py
pip install -r dust3r/requirements_optional.txt

  

  1. 编译并安装 ASMK
pip install cythongit clone https://github.com/jenicek/asmk
cd asmk/cython/
cythonize *.pyx
cd ..
pip install backports.tarfile
conda update setuptools pip backports
pip install . # or python3 setup.py build_ext --inplace cd ..

  

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询