TartanVO: A Generalizable Learning-based VO 服务器复现(rtx3090 py3)

源码地址

代码地址https://github.com/castacks/tartanvo/tree/python3

配环境

git clone https://github.com/castacks/tartanvo.git -b python3

创建conda环境:

conda create -n tartanvo python=3.8

安装pytorch

conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cupy cudatoolkit=11.3 -c pytorch -c conda-forge

安装其他库

python3 -m pip install pybind11==2.3
pip install  scipy==1.4
pip install numpy==1.18
pip install matplotlib==3.4.3
pip install opencv-python==4.2.0.32 -i https://pypi.tuna.tsinghua.edu.cn/simple

准备数据

下载模型

 mkdir models
 wget https://cmu.box.com/shared/static/t1a5u4x6dxohl89104dyrsiz42mvq2sz.pkl -O models/tartanvo_1914.pkl

下载测试数据

mkdir data
wget https://cmu.box.com/shared/static/nw3bi7x5vng2xy296ndxt19uozpk64jq.zip -O data/KITTI_10.zip
unzip -q data/KITTI_10.zip -d data/KITTI_10/

测试

KITTI 数据集上进场测试,创建run.sh

python3 vo_trajectory_from_folder.py  --model-name tartanvo_1914.pkl \
                                       --kitti \
                                       --batch-size 1 --worker-num 1 \
                                       --test-dir data/KITTI_10/image_left \
                                       --pose-file data/KITTI_10/pose_left.txt 

跑起来了,哈哈哈
在这里插入图片描述

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

玛卡巴卡_qin

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值