当前位置:网站首页>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"))
我也解决了,且识别成功!
本文档主要做个留存备份,便于以后安装
边栏推荐
- Large screen visualization from bronze to the advanced king, you only need a "component reuse"!
- Grpc快速实践
- Sentry experience and architecture, a fledgling monitoring product with a market value of $100million
- Verilog wire type
- [HCIA continuous update] overview of dynamic routing protocol
- Docker安装canal、mysql进行简单测试与实现redis和mysql缓存一致性
- Qt的网络连接方式
- Intersection of Venn graph
- MSI announced that its motherboard products will cancel all paper accessories
- Gradle notes
猜你喜欢

Generate random numbers that obey normal distribution

知物由学 | 自监督学习助力内容风控效果提升

一天上手Aurora 8B/10B IP核(5)----从Framing接口的官方例程学起

Introduction to Robotics II. Forward kinematics, MDH method

JIT deep analysis

Halcon image rectification
![[C Advanced] brother Peng takes you to play with strings and memory functions](/img/95/ab1bb0b3fa0b99e32233a5ca5d42a4.jpg)
[C Advanced] brother Peng takes you to play with strings and memory functions

One of the future trends of SAP ui5: embrace typescript

高性能 低功耗Cortex-A53核心板 | i.MX8M Mini

Exchange rate query interface
随机推荐
Gradle notes
焱融看 | 混合雲時代下,如何制定多雲策略
"Analysis of 43 cases of MATLAB neural network": Chapter 42 parallel operation and neural network - parallel neural network operation based on cpu/gpu
Verilog 状态机
Sentry experience and architecture, a fledgling monitoring product with a market value of $100million
数据库文件逻辑结构形式指的是什么
Exchange rate query interface
Apple added the first iPad with lightning interface to the list of retro products
Discrimination between sap Hana, s/4hana and SAP BTP
Load different fonts in QML
[数据库]JDBC
Which of PMP and software has the highest gold content?
C shallow copy and deep copy
Yan Rong looks at how to formulate a multi cloud strategy in the era of hybrid cloud
In the era of programmers' introspection, five-year-old programmers are afraid to go out for interviews
venn圖取交集
Custom classloader that breaks parental delegation
Kotlin basic learning 16
Getting started with MQ
aaaaaaaaaaaaa