一、直接使用
1、下载yolov3代码:https://github.com/qqwweee/keras-yolo3 ,并解压缩之后用pycharm打开。
2、下载权重:https://pjreddie.com/media/files/yolov3.weights并将权重放在keras-yolo3的文件夹下
3、执行如下命令将darknet下的yolov3配置文件转换成keras适用的h5文件。
python convert.py yolov3.cfg yolov3.weights model_data/yolo.h5
4、测试图片:python yolo_video.py --image
5、测试视频:python yolo_video.py --input 32.avi
二、自己训练
基于keras的YOLOv3在VOC数据集上训练测试 - akenseren的博客 - 优快云博客 https://blog.youkuaiyun.com/akenseren/article/details/83069190
(keras)yolov3特定目标检测&自己图片做训练集 - mingqi1996的博客 - 优快云博客 https://blog.youkuaiyun.com/mingqi1996/article/details/83343289
YOLOv3训练KITTI数据集 - Xavier丶 - 优快云博客 https://blog.youkuaiyun.com/qq583083658/article/details/86321987
二、代码解读
1.yolo_video
python3中argparse模块 - 肉包子打你 - 博客园 https://www.cnblogs.com/dengtou/p/8413609.html
Python vars() 函数 | 菜鸟教程 https://www.runoob.com/python/python-func-vars.html
Python3 * 和 ** 运算符 - 极客点儿 - 优快云博客 https://blog.youkuaiyun.com/yilovexing/article/details/80577510
2.yolo.py
python assert的作用 - hezhiyao - 博客园 https://www.cnblogs.com/hezhiyao/p/7805278.html
Python-Image 基本的图像处理操作 - 孔扎根 - 博客园 https://www.cnblogs.com/kongzhagen/p/6295925.html
python numpy.expand_dims的用法 - hxshine的博客 - 优快云博客 https://blog.youkuaiyun.com/qq_16949707/article/details/53418912
(python)图片处理Pillow模块的使用 - 我是爱哭鬼 - 博客园 https://www.cnblogs.com/Lival/p/6211602.html
3.model.py
tf.boolean_mask() - coder - 优快云博客 https://blog.youkuaiyun.com/m0_37393514/article/details/81674489
numpy的ones_like函数 - christne1225i的专栏 - 优快云博客 https://blog.youkuaiyun.com/christne1225i/article/details/54800176
4.kmeans.py
numpy.argmin 使用 - 静悟生慧 - 博客园 https://www.cnblogs.com/Allen-rg/p/9606824.html
Python数据处理 numpy.median - chaibubble - 优快云博客 https://blog.youkuaiyun.com/chaipp0607/article/details/74347025
5.train.py
python的匿名函数lambda解释及用法 - 希声lx - 博客园 https://www.cnblogs.com/xisheng/p/7301245.html
keras 两种训练模型方式fit和fit_generator(节省内存) - u011311291的博客 - 优快云博客 https://blog.youkuaiyun.com/u011311291/article/details/79900060
四、测试
【YOLOV3-keras-MAP】YOLOV3-keras版本的mAP计算 - 倔强的大萝卜的博客 - 优快云博客 https://blog.youkuaiyun.com/plSong_优快云/article/details/89502117