2020-04-28tensorflow+YOLOv3

参考文章:
https://www.jianshu.com/p/3943be47fe84
环境:
Python 3.6
Tensorflow 1.8
Keras 2.1.3
OpenCV 3.4
安装tensorflow 1.5

pip install tensorflow==1.8 -i [https://pypi.tuna.tsinghua.edu.cn/simple](https://pypi.tuna.tsinghua.edu.cn/simple)
pip install tensorflow-gpu==1.8 -i [https://pypi.tuna.tsinghua.edu.cn/simple](https://pypi.tuna.tsinghua.edu.cn/simple)

查看tensorflow版本号

tf.__version__

安装keras(俺的版本是2.3.1,不知道会不会产生问题)

conda install keras

环境配好了(大概吧,不知到版本会不会产生影响)

git clone https://github.com/xiaochus/YOLOv3

首先下载权值文件,并置于项目顶层yolov3.weights

执行下列命令转换,将YOLOv3.weights 转换成yolo.h5

python yad2k.py cfg\yolo.cfg yolov3.weights data\yolo.h5
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。