当前位置: 首页 > news >正文

Splatter Image运行笔记

文章标题:Splatter Image: Ultra-Fast Single-View 3D Reconstruction

1. 环境配置

下载Splatter Image代码

git clone https://github.com/szymanowiczs/splatter-image.git

创建环境

conda create --name splatter-image python=3.8

激活环境

conda activate splatter-image

安装torch、torchvision、torchaudio

pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu124

安装其它依赖

pip install -r requirements.txt
pip install rembg onnxruntime

下载3D Gaussian Splatting代码 

git clone https://github.com/graphdeco-inria/gaussian-splatting --recursive

安装diff-gaussian-rasterization

cd gaussian-splattingpip install submodules/diff-gaussian-rasterization

2. 下载数据

import os
from huggingface_hub import snapshot_download# 使用cache_dir参数,将模型/数据集保存到指定“本地路径”
snapshot_download(repo_id="szymanowiczs/splatter-image-v1", repo_type="dataset",cache_dir="/home/xxxxx/Downloads",local_dir_use_symlinks=False, resume_download=True,token='hf_***')

3. 下载预训练模型

import os
from huggingface_hub import snapshot_download# 使用cache_dir参数,将模型/数据集保存到指定“本地路径”
snapshot_download(repo_id="szymanowiczs/splatter-image-v1", repo_type="model",cache_dir="/home/xxxxx/Downloads",local_dir_use_symlinks=False, resume_download=True,token='hf_***')

4. 训练

5. 推理

http://www.lryc.cn/news/500892.html

相关文章:

  • python爬虫--某房源网站验证码破解
  • Micropython编译ESP32C3开发板版本过程详细步骤步骤
  • 【开源免费】基于SpringBoot+Vue.JS大创管理系统(JAVA毕业设计)
  • mysql 和 tidb的区别
  • 传输层5——TCP可靠传输的实现(重点!!)
  • 基于Python实现web网页内容爬取
  • Centos7和9安装mysql5.7和mysql8.0详细教程(超详细)
  • 星闪WS63E开发板的OpenHarmony环境构建
  • MongoDB数据建模小案例
  • MySQL(库的操作)
  • 【55 Pandas+Pyecharts | 实习僧网Python岗位招聘数据分析可视化】
  • java中23种设计模式的优缺点
  • 【JavaEE】多线程(7)
  • 如何高效的向AI大模型提问? - 提示工程Prompt Engineering
  • 4K高清壁纸网站推荐
  • EasyExcel注解使用
  • Visual Basic 6 关于应用的类库 - 开源研究系列文章
  • C#泛型
  • go语言的成神之路-标准库篇-fmt标准库
  • React Native的router解析
  • Linux update-alternatives 命令详解
  • 【踩坑】修复报错libcurl.so.4、LIBFFI_BASE_7.0、libssl.so.3
  • python网络爬虫基础:html基础概念与遍历文档树
  • 【已解决】MacOS上VMware Fusion虚拟机打不开的解决方法
  • 经典视觉神经网络1 CNN
  • 一些硬件知识【2024/12/6】
  • 网络安全法-网络安全支持与促进
  • 【Docker】如何在Docker中配置防火墙规则?
  • Cesium 问题: 添加billboard后移动或缩放地球,标记点位置会左右偏移
  • 使用Python3 连接操作 OceanBase数据库