当前位置:网站首页>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"))
我也解决了,且识别成功!
本文档主要做个留存备份,便于以后安装
边栏推荐
- What is the binding path of SAP ui5
- aaaaaaaaaaaaa
- Docker installs canal and MySQL for simple testing and implementation of redis and MySQL cache consistency
- Spark Tuning
- Named block Verilog
- Intersection of Venn graph
- Getting started with MQ
- NLog使用
- Go execute shell command
- [HCIA continuous update] working principle of OSPF Protocol
猜你喜欢

MSI announced that its motherboard products will cancel all paper accessories

Verilog 过程连续赋值
![[designmode] builder model](/img/e8/855934d57eb6868a4d188b2bb1d188.png)
[designmode] builder model

In the era of programmers' introspection, five-year-old programmers are afraid to go out for interviews

ThreadLocal详解

Verilog 过程赋值 区别 详解

Failed to upgrade schema, error: “file does not exist

What do you know about stock selling skills and principles

Oracle的md5

《MATLAB 神经网络43个案例分析》:第42章 并行运算与神经网络——基于CPU/GPU的并行神经网络运算
随机推荐
命名块 verilog
Review materials of project management PMP high frequency examination sites (8-1)
C # joint halcon out of halcon Environment and various Error Reporting and Resolution Experiences
Custom classloader that breaks parental delegation
Kotlin 基础学习13
Apple added the first iPad with lightning interface to the list of retro products
Yan Rong looks at how to formulate a multi cloud strategy in the era of hybrid cloud
Named block Verilog
Eight steps of agile development process
NLog使用
MySQL index, transaction and storage engine
Load different fonts in QML
Verilog 线型wire 种类
IPhone 6 plus is listed in Apple's "retro products" list
[HCIA continuous update] working principle of OSPF Protocol
halcon图像矫正
终日乾乾,夕惕若厉
QT environment generates dump to solve abnormal crash
C # joint Halcon's experience of breaking away from Halcon environment and various error reporting solutions
Oracle的md5