当前位置:网站首页>ImageAI安装
ImageAI安装
2022-07-02 03:28:00 【billjiang2008】
1.为了避免走弯路一定要去官网查看资料,官网是更新的,不要看一些博主的内容:博主当时可能也安装成功了,但一些资料的更新,可能安装后,出现错误
ImageAI的官方英文文档!— ImageAI 2.1.6 文档
安装映像AI
ImageAI要求您安装Python 3.7.6以及其他一些Python库和框架。在安装映像 AI 之前,必须安装以下依赖项。
或 Tensorflow-GPU(如果您有安装了 CUDA 和 cuDNN 的 NVIDIA GPU)
pip install tensorflow-gpu==2.4.0
其他依赖关系
pip install keras==2.4.3 numpy==1.19.3 pillow==7.0.0 scipy==1.4.1 h5py==2.10.0 matplotlib==3.3.2 opencv-python keras-resnet==0.2.0图像AI
pip install imageai --upgrade
安装ImageAI后,您可以开始运行很少的代码行来执行非常强大的计算机视觉任务,如下所示。
2、安装完后,测试,图像识别成功,很开心。
3、做另外一个项目时,在加载
detector.loadModel()
出现错误信息:
Unknown layer: NonMaximumSuppression
还有一个什么Class “”“”记不住了。最后查找资料及论坛
是如下这个:
resnet50_coco_best_v2.0.1.h5
下载一个新版本的resnet50_coco_best_v2.1.0.h5 就解决了
detector.setModelPath( os.path.join(execution_path , "resnet50_coco_best_v2.1.0.h5"))
我也解决了,且识别成功!
本文档主要做个留存备份,便于以后安装
边栏推荐
猜你喜欢

PY3, PIP appears when installing the library, warning: ignoring invalid distribution -ip

JS <2>

Getting started with MQ

MySQL connection query and subquery

uniapp 使用canvas 生成海报并保存到本地
![[untitled] basic operation of raspberry pie (2)](/img/b4/cac22c1691181c1b09fe9d98963dbf.jpg)
[untitled] basic operation of raspberry pie (2)

Docker installs canal and MySQL for simple testing and implementation of redis and MySQL cache consistency

数据传输中的成帧

Download and use of the super perfect screenshot tool snipaste

MySQL index, transaction and storage engine
随机推荐
High performance and low power cortex-a53 core board | i.mx8m Mini
Yan Rong looks at how to formulate a multi cloud strategy in the era of hybrid cloud
MySQL advanced (Advanced) SQL statement (II)
《MATLAB 神经网络43个案例分析》:第41章 定制神经网络的实现——神经网络的个性化建模与仿真
Download and use of the super perfect screenshot tool snipaste
JDBC details
PY3 link MySQL
Pointer array & array pointer
C shallow copy and deep copy
Global and Chinese market of bone adhesives 2022-2028: Research Report on technology, participants, trends, market size and share
Intersection vengraph
uniapp 使用canvas 生成海报并保存到本地
Kotlin basic learning 17
Load different fonts in QML
"Analysis of 43 cases of MATLAB neural network": Chapter 41 implementation of customized neural network -- personalized modeling and Simulation of neural network
What is the binding path of SAP ui5
Eight steps of agile development process
一天上手Aurora 8B/10B IP核(5)----从Framing接口的官方例程学起
Kotlin basic learning 16
Docker installs canal and MySQL for simple testing and implementation of redis and MySQL cache consistency