Reputation: 365
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
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