1、Anaconda和Pycharm的安装和配置https://www.cnblogs.com/yuxuefeng/articles/9235431.html
2、Conda update -all 异常
异常处理
https://blog.csdn.net/qq_40100127/article/details/102608386
3、tensorflow和ImageAI(建议在建立的项目下 使用Terminal 安装,这样需要此项目需要使用,防止不同项目之间版本不一致导致问题的反复)
请先参照一下网址
https://www.sohu.com/a/254332853_100095143
tensorflow 安装
pip3 --default-timeout=100 install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com tensorflow==2.3.0
或者参照:
win10系统安装Tensorflow2.1-CPU版本
https://blog.csdn.net/loft_/article/details/105550596
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
imageai 安装
pip3 install https://github.com/OlafenwaMoses/ImageAI/releases/download/2.0.2/imageai-2.0.2-py3-none-any.whl
或者你可以下载imageai-2.0.2-py3-none-any.whl ,之后运行:
pip3 install C:\User\MyUser\Downloads\imageai-2.0.2-py3-none-any.whl
4、环境部署好后的运行代码的bug 处理
安装完Tensorflow却找不到指定模块
https://blog.csdn.net/loft_/article/details/105550867
ImageAI出现cannot import name 'convert_all_kernels_in_model' from 'tensorflow.python.keras.utils'的错误
https://blog.csdn.net/Harry_Jack/article/details/105219586
解决tensorflow报错:AttributeError: module 'tensorflow.keras.backend' has no attribute 'get_session' 问题
https://blog.csdn.net/weixin_41010198/article/details/107659012
TypeError: type object got multiple values for keyword argument 'training'
https://www.pythonf.cn/read/126614
tensorflow._api.v2.image' has no attribute 'resize_images'
https://github.com/fizyr/keras-retinanet/issues/1368
https://github.com/fizyr/keras-retinanet/issues/1368
5、收集的其他例子
ImageAI实现完整的流程:数据集构建、模型训练、识别预测
http://blog.itpub.net/69946223/viewspace-2655245
ImageAI中文文档,代码可以直接使用
https://imageai-cn.readthedocs.io/zh_CN/latest/ImageAI_Object_Detection.html