Martin Powlette Jr
Martin Powlette Jr

Reputation: 365

Reduce size of a half precision Core ML model created with turicreate

I have a requirement for a CoreML model to be compressed to =< 24MB. This is a neural net created with Turi Create. It is for object detection. As per Apple's Documentation, I've converted the model to a half precision model (this also has an issue right now with coremltools). I need to shave off ~4 MB. Downloading the model isn't an option.

Any other techniques or approaches I could try to get this any smaller?

Upvotes: 3

Views: 766

Answers (1)

Matthijs Hollemans
Matthijs Hollemans

Reputation: 7902

First thing I would do is try creating this model using the "sqeezenet" model option in Turi Create, instead of the ResNet50 one you appear to be using now. SqueezeNet will give similar results (possibly slightly worse) but the model will only be about 4 MB in total.

Upvotes: 1

Related Questions