几经折磨终于跑通jetson-inference

之前看了很多篇关于jetson-inference的文章,无论如何 git submodule update --init 这一步就过不了,总是Failed,昨晚看了下面这篇帖子:

Jetson Nano之jetson-inference问题处理

https://blog.csdn.net/Qz574662449/article/details/104129308

尝试之后终于过关。

 

准备工作:安装各种包,略过

 

  1. git clone --recursive https://github.com/dusty-nv/jetson-inference 

    注意里面的 --recursive

    可以从gitee上面clone镜像,但是后面的git submodule update --init 还是需要连github。
     
  2. 从网盘把模型下载下来(几个不同分享的合并)
    链接:https://pan.baidu.com/s/1Vi0G-GiOzgo3vkoVlcmA5Q 
    提取码:3i38 

    放进jetson-inference/data/networks里,解压

    for tar in *.tar.gz;  do tar -zxvf $tar; done

    sudo rm -R *.tar.gz
  3. cd jetson-inference
  4. git init
  5. git submodule update --init


    之前这一步总是过不去,不知道到底是github的问题还是必须用上面git clone --recursive的写法。昨晚12:00前后github速度大好,终于通过。

  6. mkdir build
  7. cd build
  8. cmake ../  
    细节见上面的帖子
     
  9. make
  10. sudo make install

 

另外还参考了:

[Jetson Nano] Jetson-inference(Hello AI World) 爬坑指南

https://blog.csdn.net/qq_35456540/article/details/89323474?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161987925716780366569400%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=161987925716780366569400&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-2-89323474.first_rank_v2_pc_rank_v29&utm_term=jetson-inference

 

笔记(八)Jetson Nano 跑通 jetson-inference

https://blog.csdn.net/baidu_26678247/article/details/109025873?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161987925716780269824942%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=161987925716780269824942&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_v2~rank_v29-8-109025873.first_rank_v2_pc_rank_v29&utm_term=jetson-inference

 

你可能感兴趣的:(程序开发,jetson,深度学习,pytorch)