Created
August 28, 2018 22:35
-
-
Save dimroc/19804611e576d75c1099cb32c07935fa to your computer and use it in GitHub Desktop.
Simple barebones coremltools conversation to Keras
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
coreml_model = coremltools.converters.Keras.convert( | |
path, | |
input_names=['input_1'], | |
image_input_names=['input_1'], | |
output_names=['density_map']) | |
coreml_model.save("CrowdPredictor.mlmodel") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment