Skip to content

Reads Darknet config and weights(supports YOLOv4) and creates CoreML model.

Notifications You must be signed in to change notification settings

MPieter/YOLOv4-CoreML-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOLOv4-CoreML-Converter

license

Introduction

A Keras implementation of YOLOv4 (Tensorflow backend) inspired by allanzelener/YAD2K and qqwweee/keras-yolo3 that is exported to CoreML via coremltools.


Quick Start

python convert.py yolov4.cfg yolov4.weights model_data/yolov4.mlmodel --keras_output_path model_data/yolov4.h5

To also export the intermediate Keras model use the argument --keras_output_path.

Tested with

- Python 3.7.3
- Keras 2.2.4
- tensorflow 2.2.0
- coremltools 4.0b3

About

Reads Darknet config and weights(supports YOLOv4) and creates CoreML model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages