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

相关推荐
LuminousCPP12 分钟前
数据结构-双向循环链表
c语言·数据结构·笔记·链表
302wanger2 小时前
【阅读笔记】当AI拿走一切之后
笔记
疯狂打码的少年3 小时前
【数据结构】串(字符串):基本概念与存储
数据结构·笔记
Hotchip_MEMS5 小时前
TWS耳机微米级较量:超薄LGA封装如何助力MEMS麦克风小型化?
人工智能·笔记·物联网·电脑
Ztt6666666665 小时前
金泉方壶四面端正,月白釉却把棱角放柔了
经验分享·笔记·其他·百度·微信公众平台
学习和思考6 小时前
非自动化专业如何自学PLC?我的6个月学习路线图
笔记·学习·自动化·学习方法
疯狂打码的少年7 小时前
【数据结构】栈的应用:表达式求值(后缀表达式)
java·数据结构·笔记·算法
東隅已逝,桑榆非晚8 小时前
类和对象(中)
c++·笔记
野生yumeko9 小时前
QtScrcpy电脑无线控制手机屏幕
经验分享·笔记·智能手机
xian_wwq10 小时前
【学习笔记】Loop Engineering,从手动提示到目标驱动自动化-13/16
笔记·学习·自动化