All Projects → caimingxie → h5_to_weight_yolo3

caimingxie / h5_to_weight_yolo3

Licence: other
convert keras (tensorflow backend) yolov3 h5 model file to darknet yolov3 weights

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to h5 to weight yolo3

Datasets2Darknet
Modular tool that extracts images and labels from multiple datasets and parses them to Darknet format.
Stars: ✭ 31 (-20.51%)
Mutual labels:  yolov3
Yolov3-TensorRT-py
Yolov3 on tensorflow2.0 and tensorrt7.0
Stars: ✭ 15 (-61.54%)
Mutual labels:  yolov3
Social-Distancing-Detector
An AI Tool to Help Customers Monitor Social Distancing in the Workplace.
Stars: ✭ 61 (+56.41%)
Mutual labels:  yolov3
go-darknet
Go bindings for Darknet (YOLO v4 / v3)
Stars: ✭ 56 (+43.59%)
Mutual labels:  yolov3
keras-yolo3-facedetection
Real-time face detection model using YOLOv3 with Keras
Stars: ✭ 13 (-66.67%)
Mutual labels:  yolov3
object-tracking
Multiple Object Tracking System in Keras + (Detection Network - YOLO)
Stars: ✭ 89 (+128.21%)
Mutual labels:  yolov3
imsearch
Framework to build your own reverse image search engine
Stars: ✭ 64 (+64.1%)
Mutual labels:  yolov3
yolo-deepsort-flask
Target detection and multi target tracking platform based on Yolo DeepSort and Flask.
Stars: ✭ 29 (-25.64%)
Mutual labels:  yolov3
CullNet
Code implementation of our paper "CullNet: Calibrated and Pose Aware Confidence Scores for Object Pose Estimation"
Stars: ✭ 13 (-66.67%)
Mutual labels:  yolov3
Pruned-OpenVINO-YOLO
Deploy the pruned YOLOv3/v4/v4-tiny/v4-tiny-3l model on OpenVINO embedded devices
Stars: ✭ 46 (+17.95%)
Mutual labels:  yolov3
yolov3-pytorch
annotation and specification for yolov3
Stars: ✭ 48 (+23.08%)
Mutual labels:  yolov3
Deep-Learning-with-GoogleColab
Deep Learning Applications (Darknet - YOLOv3, YOLOv4 | DeOldify - Image Colorization, Video Colorization | Face-Recognition) with Google Colaboratory - on the free Tesla K80/Tesla T4/Tesla P100 GPU - using Keras, Tensorflow and PyTorch.
Stars: ✭ 63 (+61.54%)
Mutual labels:  yolov3
OpenCvSharpDNN
Implementation of YoloV3 and Caffe in OpenCvSharp
Stars: ✭ 20 (-48.72%)
Mutual labels:  yolov3
lightDenseYOLO
A real-time object detection app based on lightDenseYOLO Our lightDenseYOLO is the combination of two components: lightDenseNet as the CNN feature extractor and YOLO v2 as the detection module
Stars: ✭ 20 (-48.72%)
Mutual labels:  yolov3
TensorRT yolo3 module
You can import this module directly
Stars: ✭ 58 (+48.72%)
Mutual labels:  yolov3
object-detection-yolo-opencv
Object Detection using Yolo V3 and OpenCV
Stars: ✭ 29 (-25.64%)
Mutual labels:  yolov3
odam
ODAM - Object detection and Monitoring
Stars: ✭ 16 (-58.97%)
Mutual labels:  yolov3
Accident-avoidance-deepsortyoloFCRN
An accident avoidance program that raises alert when nearby vehicles are moving at a relative speed faster than a threshold value, additionally it logs some data onto NEM-Mijin blockchain network
Stars: ✭ 18 (-53.85%)
Mutual labels:  yolov3
live-cctv
To detect any reasonable change in a live cctv to avoid large storage of data. Once, we notice a change, our goal would be track that object or person causing it. We would be using Computer vision concepts. Our major focus will be on Deep Learning and will try to add as many features in the process.
Stars: ✭ 23 (-41.03%)
Mutual labels:  yolov3
Automated-Social-Distancing-Monitoring
automated social distancing monitoring system
Stars: ✭ 1 (-97.44%)
Mutual labels:  yolov3

keras yolov3 h5 model file convert to darknet yolov3.weights

Introduction

This script according to https://github.com/qqwweee/keras-yolo3/blob/master/convert.py implementation yolov3 train saved h5 model convert to darknet yolov3.weights.

Check and modify files

  1. voc_classes.txt: Check there is not a line break in the file end, otherwise line break will regard as one class. Just delete the line break it will be ok.

  2. yolo.cfg: Modify the yolo.cfg corresponding to own train config, change the below items.

    width=960 # train image's width
    height=512 # train image's heigh

    ......
    filters=18 # 3*(5+num_classes)
    activation=linear

    [yolo]
    mask = 6,7,8
    anchors = 10,13, 16,30, 33,23, 30,61, 62,45, 59,119, 116,90, 156,198, 373,326
    classes=1 # classes number

    ......

    filters=18 # 3*(5+num_classes)
    activation=linear

    [yolo]
    mask = 3,4,5
    anchors = 10,13, 16,30, 33,23, 30,61, 62,45, 59,119, 116,90, 156,198, 373,326
    classes=1 # classes number

    ......

    filters=18 # 3*(5+num_classes)
    activation=linear

    [yolo]
    mask = 0,1,2
    anchors = 10,13, 16,30, 33,23, 30,61, 62,45, 59,119, 116,90, 156,198, 373,326
    classes=1 # classes number

  3. open check_weight.py and modify model_path, config_path, weight_file of yourself.

model_path = "./trained_weights_final.h5"     # keras yolov3 h5 model file
config_path = 'yolov3.cfg'                   # .cfg  file path
weight_file = open('yolov3.weights', 'wb')   # save darknet yolov3 weights file path

Convert start

run python check_weight.py

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].