当前位置:网站首页>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
《MATLAB 神经网络43个案例分析》:第41章 定制神经网络的实现——神经网络的个性化建模与仿真
"Analysis of 43 cases of MATLAB neural network": Chapter 41 implementation of customized neural network -- personalized modeling and Simulation of neural network
[C Advanced] brother Peng takes you to play with strings and memory functions
ThreadLocal详解
SAML2.0 notes (I)
MySQL之账号管理
JS introduction < 1 >
Gradle foundation | customize the plug-in and upload it to jitpack
[untitled] basic operation of raspberry pie (2)
随机推荐
/silicosis/geo/GSE184854_scRNA-seq_mouse_lung_ccr2/GSE184854_RAW/GSM5598265_matrix_inflection_demult
[golang] leetcode intermediate bracket generation & Full Permutation
Oracle 查看被锁的表和解锁
高性能 低功耗Cortex-A53核心板 | i.MX8M Mini
Docker安装canal、mysql进行简单测试与实现redis和mysql缓存一致性
On redis (II) -- cluster version
leetcode-1380. Lucky number in matrix
C#联合halcon脱离halcon环境以及各种报错解决经历
C reflection practice
Verilog parallel block implementation
Qt的网络连接方式
PY3, PIP appears when installing the library, warning: ignoring invalid distribution -ip
Go执行shell命令
Kotlin 基础学习13
Kotlin basic learning 17
C#聯合halcon脫離halcon環境以及各種報錯解决經曆
JS <2>
Apple added the first iPad with lightning interface to the list of retro products
What kind of interview is more effective?
aaaaaaaaaaaaa