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

图生3d 图生全景 学习笔记

目录

instantsplat

Aluciddreamer

ZoeDepth

会自动下载模型:

图生全景图SD-T2I-360PanoImage:



instantsplat

Sparse-view SfM-free Gaussian Splatting in Seconds

稀疏视图无SfM高斯喷洒

GitHub - NVlabs/InstantSplat: InstantSplat: Sparse-view SfM-free Gaussian Splatting in Seconds

Aluciddreamer

GitHub - luciddreamer-cvlab/LucidDreamer: Official code for the paper "LucidDreamer: Domain-free Generation of 3D Gaussian Splatting Scenes".

解析器添加参数(‘--campath_gen’,‘-cg’),类型为字符串,默认值为‘rotate360’,可选值为 [‘lookdown’,‘lookaround’,‘rotate360’],帮助信息为 “用于场景生成的相机外参轨迹”。

解析器添加参数(‘--campath_render’,‘-cr’),类型为字符串,默认值为‘back_and_forth’,可选值为 [‘back_and_forth’,‘llff’,‘headbanging’],帮助信息为 “用于视频渲染的相机外参轨迹”。

ZoeDepth

引用地址:

GitHub - isl-org/ZoeDepth: Metric depth estimation from a single image

演示地址:

https://huggingface.co/spaces/shariqfarooq/ZoeDepth

模型下载地址:

Releases · isl-org/ZoeDepth · GitHub

会自动下载模型:

self.d_model = torch.hub.load('./ZoeDepth', 'ZoeD_N', source='local', pretrained=True).to('cuda')

下载路径:

/mnt/pfs/models/torch/hub/intel-isl_MiDaS_master    Using cache found in

/mnt/pfs/models/torch/hub/checkpoints

图生全景图SD-T2I-360PanoImage:

pip install numpy==1.23.2

import sys
import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))import torchcurrent_dir = os.path.dirname(os.path.abspath(__file__))paths = [os.path.abspath(__file__).split('scripts')[0]]
print('current_dir',current_dir)
paths.append(os.path.abspath(os.path.join(current_dir, 'src')))for path in paths:sys.path.insert(0, path)os.environ['PYTHONPATH'] = (os.environ.get('PYTHONPATH', '') + ':' + path).strip(':')import torch
from diffusers.utils import load_image
from img2panoimg import Image2360PanoramaImagePipelineimage = load_image("./data/i2p-image.jpg").resize((512, 512))
mask = load_image("./data/i2p-mask.jpg")prompt = 'The office room'# for <16GB gpu
input = {'prompt': prompt, 'image': image, 'mask': mask, 'upscale': False}# for >16GB gpu (24GB at least)
# the similarity with the input image is poor because of the super-resolution steps. It should be improved.
# input = {'prompt': prompt, 'image': image, 'mask': mask, 'upscale': True}model_id = 'models'
img2panoimg = Image2360PanoramaImagePipeline(model_id, torch_dtype=torch.float16)
output = img2panoimg(input)
output.save('result.png')

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

相关文章:

  • 分库分表—4.数据迁移系统文档
  • HAMR技术进入云存储市场!
  • Vulnhub---kioptirx5 超详细wp
  • 单片机状态机实现多个按键同时检测单击、多击、长按等操作
  • oracle之用户的相关操作
  • 黑马redis
  • HCIA-Access V2.5_1_2 PON技术的特点、优势与典型应用
  • css部分
  • 【TCP 网络通信(发送端 + 接收端)实例 —— Python】
  • LSTM+改进的itransformer时间序列预测模型代码
  • Apache-HertzBeat 开源监控默认口令登录
  • Delete Number
  • Linux常用快捷键
  • 针对xpath局限的解决方案
  • 深入解析 HTML Input 元素:构建交互性表单的核心
  • ffmpeg转码与加水印
  • Leetcode 104. 二叉树的最大深度(Java-深度遍历)
  • 阳明心学-传习录学习总结
  • macOS sequoia 15.1中应用程序“程序坞”没有权限打开
  • 使用 MinIO 和 KKFileView 实现在线文件预览功能
  • Conda-Pack打包:高效管理Python环境
  • 云服务器上搭建 WordPress 全流程指南
  • 图像超分辨率技术新进展:混合注意力聚合变换器HAAT
  • 文件IO——01
  • 【opencv入门教程】5. Mat 类用法
  • SSM虾米音乐项目2--分页查询
  • nodejs 获取本地局域网 ip 扫描本地端口
  • 区块链签名种类
  • 【062B】基于51单片机无线病房呼叫系统(+时间)【Keil程序+报告+原理图】
  • 突破空间限制!从2D到3D:北大等开源Lift3D,助力精准具身智能操作!