内容纲要
1、所需环境
源码地址 https://github.com/qqwweee/keras-yolo3
python3
keras 2.1.5
tensorflow 1.6.0
2、下载源码以及预训练的权重
源码:
git clone https://github.com/qqwweee/keras-yolo3.git
权重:
wget https://pjreddie.com/media/files/yolov3.weights
源码文件结构:
—YOLO3-keras│ coco_annotation.py #coco数据集格式转换│ convert.py #权重格式转换│ darknet53.cfg #darknet53网络配置文件│ kmeans.py #k-means算法,用于生成预设的anchor box│ train.py #训练│ voc_annotation.py #voc数据集格式转换│ yolo.py #预测│ yolov3-tiny.cfg #yolo3-tiny配置文件│ yolov3.cfg #yolo3的配置文件│ yolo_video.py