Tensorflow object detection API (ubuntu18.04) 安装和踩坑;

  1. 踩坑:
    1. 将slim和models路径加入虚拟环境中;

    2. 将slim和models路径加入系统路径中;(加入系统路径的时候,这个pwd)

       

    3. qit  (持续更新)
  2. 具体安装流程:
    1. (很多问题)2.0版本 ;(继续更新)
      1.   conda create -n tf_obj_det_api_v2 python=3.8
    2.   (很丝滑)重新尝试tf1.0版本; 参考:https://blog.csdn.net/qq_43218533/article/details/120551037
      1.   conda  create -n tf_obj_det_api_v1 python=3.6
      2.        conda install tensorflow==1.15.0
      3.        conda install matplotlib pandas jupyter protobuf pillow cython lxml
      4.   下载tensorflow object detection api (对应tensorflow版本,下载v1.13)
      5.   直接编译protocbuf (不用下载,也不用安装,因为安装tensorflow的时候,自动安装了protocbuf)

      6. 没装coco api
      7.         安装object detection和slim,配置环境变量;

      8.         验证;

      9.          安装cocoapi

         

posted @ 2024-05-07 19:35  张幼安  阅读(3)  评论(0编辑  收藏  举报