图生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博客

相关推荐
心中有国也有家42 分钟前
cann-recipes-infer:昇腾 NPU 推理的“菜谱集合”
经验分享·笔记·学习·算法
玄米乌龙茶1231 小时前
LLM成长笔记(三):API 开发基础
笔记
Upsy-Daisy1 小时前
AI Agent 项目学习笔记(八):Tool Calling 工具调用机制总览
人工智能·笔记·学习
LuminousCPP2 小时前
数据结构 - 线性表第四篇:C 语言通讯录优化升级全记录(踩坑 + 思考)
c语言·开发语言·数据结构·经验分享·笔记·学习
一只机电自动化菜鸟3 小时前
一建机电备考笔记(40) 建筑机电施工—排水管道施工(含考频+题型)
经验分享·笔记·学习·职场和发展·课程设计
你干嘛?哎哟4 小时前
4月工作笔记
笔记
tom02184 小时前
软考中级《嵌入式系统设计师》全套备考资料(真题 + 教材 + 笔记)
笔记·嵌入式·软考·自学·电子技术·电子资料·变成
问心无愧05136 小时前
ctf show web入门156
笔记
咸甜适中6 小时前
rust语言学习笔记Trait(八)Iterator(迭代器)
笔记·学习·rust
ZhiqianXia8 小时前
流畅的Python笔记
笔记·python