jpeck

jpeck / keras2coreml / 0.1.0

README.md

Overview

Convert a Keras/Tensorflow model file (h5) to Apple CoreML

Usage

Input

Required:

ParameterDescription
input_fileData URL of h5 model file
output_fileData URL for outputted CoreML file

Optional:

All parameters from coremltools.converters.keras.convert

Output

ParameterDescription
output_fileData URL of output file (echoed from inputs)

Examples

{
"input_file":"data://jpeck/keras_model/xception.h5",
"output_file":"data://jpeck/keras_model/xception.mlmodel"
}