This script lets you expose a CoreML model's intermediate tensors as outputs.
If your CoreML model is spitting out garbage and the inputs look correct it can be painful to find where things are failing in the middle of your model.
Download the script, grab your .mlpackage
and fire up https://netron.app to find an interesting tensor.