Last active
February 2, 2019 20:44
-
-
Save cggonzal/0ff1818e56bbd42f308ca5dde41d8084 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output_labels = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] | |
your_model = coremltools.converters.keras.convert('your_model.h5', input_names=['image'], output_names=['output'], | |
class_labels=output_labels, image_input_names='image') | |
your_model.save('your_model_name.mlmodel') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment