Skip to content

coremltools-0.7.0

Compare
Choose a tag to compare
@TobyRoseman TobyRoseman released this 05 Dec 00:14
c0fe24f

Neural Networks

  • Half precision weights
    • New to .mlmodel specification version 2
    • Supported by macOS 10.13.2, iOS 11.2, watchOS 4.2, tvOS 11.2
    • WeightParams can now be specified in half precision (float16)
    • New float16 conversion utility function can convert existing models with neural networks to half precision by calling coremltools.utils.convert_neural_network_spec_weights_to_fp16
    • Can also pass in a flag in keras or caffe converter functions during model conversion time to convert models to half precision
    • See: https://developer.apple.com/documentation/coreml/reducing_the_size_of_your_core_ml_app
  • Custom Layers

Visualization

  • Visualize model specification with: coremltools.utils.visualize_spec

Python 3

  • Conversion for most model types work in Python 3.
  • No predictions: #37
  • Converting Caffe models does not work: #79
  • To use in Python 3, you must build from source.

Misc

  • Support grayscale image outputs in python predictions
  • Bug fixes