美文网首页
ImageAI的安装

ImageAI的安装

作者: 程序员Ameng | 来源:发表于2020-07-22 16:05 被阅读0次

    依赖

    在应用程序开发中使用ImageAI之前必须安装以下依赖项:

    • python (使用3.7.7,不要使用python3.8,如果安装了3.8,tensorflow只能安装2.0以上版本,ImageAI现在还不支持)
    • pip3
    • tensorflow(tensorflow1.15.0)
      pip3 install tensorflow==1.15.0
    • Numpy 1.13.1(及更高版本)
      pip3 install numpy
    • SciPy 0.19.1(及更高版本) 安装或 通过pip安装
      pip3 install scipy
    • OpenCV
      pip3 install opencv-python
    • pillow
      pip3 install pillow
    • Matplotlib
      pip3 install matplotlib
    • h5py
      pip3 install h5py
    • Keras 2.3.1
      pip3 install keras==2.3.1

    安装

    请在命令行中运行如下命令来安装 ImageAI:
    pip3 install https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.1/imageai-2.0.1-py3-none-any.whl


    Tensorflow和Keras的版本有对应关系

    相关文章

      网友评论

          本文标题:ImageAI的安装

          本文链接:https://www.haomeiwen.com/subject/gfktlktx.html