图生360度部署 Panodiff

目录

Panodiff

算法步骤:

[1. python build_dataset.py crop_num pairs_num raw_data_path](#1. python build_dataset.py crop_num pairs_num raw_data_path)

[2. Relative Pose Prediction](#2. Relative Pose Prediction)

报错:

[No module named 'pytorch_lightning.utilities.distributed'](#No module named 'pytorch_lightning.utilities.distributed')

[NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:](#NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:)


Panodiff

GitHub - shanemankiw/Panodiff: Official implementation for ACM MM 2023 paper '360-Degree Panorama Generation from Few Unregistered NFoV Images'

模型和数据都在提供的压缩包里面。

算法步骤:

1. python build_dataset.py crop_num pairs_num $raw_data_path
2. Relative Pose Prediction
bash 复制代码
GPU=... # Define your GPU Device
save_path=data/pred_results.npy # Define the path for saved predictions

python pred_rotations.py \
    config.yaml \
    --classification_model_path=ckpts/stage1_classification_ckpt.pt \
    --overlap_regression_model_path=ckpts/stage2_overlap_ckpt.pt \
    --nonoverlap_regression_model_path=ckpts/stage2_nonoverlap_ckpt.pt \
    --gpu=$GPU \
    --save_path=$save_path

报错:

No module named 'pytorch_lightning.utilities.distributed'

解决方法:pip install pytorch-lightning==1.5.0

NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:

解决方法:

NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs:-CSDN博客

相关推荐
BugShare21 小时前
Obsidian 使用指南:从零开始搭建你的个人知识库
笔记·obsidian
深蓝海拓21 小时前
PySide6从0开始学习的笔记(二十五) Qt窗口对象的生命周期和及时销毁
笔记·python·qt·学习·pyqt
跃渊Yuey1 天前
【Linux】线程同步与互斥
linux·笔记
AI视觉网奇1 天前
FBX AnimSequence] 动画长度13与导入帧率30 fps(子帧0.94)不兼容。动画必须与帧边界对齐。
笔记·学习·ue5
科技林总1 天前
使用Miniconda安装Jupyter
笔记
woodykissme1 天前
倒圆角问题解决思路分享
笔记·学习·工艺
laplace01231 天前
Clawdbot 部署到飞书(飞连)使用教程(完整版)
人工智能·笔记·agent·rag·clawdbot
凉、介1 天前
ACRN Hypervisor 简介
笔记·学习·虚拟化
历程里程碑1 天前
Linux15 进程二
linux·运维·服务器·开发语言·数据结构·c++·笔记
dulu~dulu1 天前
大英赛改错真题记录
笔记·英语·自用·英语改错