Accessing CoreML Layer Output

I used the Core ML Converter to convert a caffe AlexNet model to a Core ML model. The model works just fine and outputs correct classfiation results. However, I do not know how to access the output of a layer (e.g. one of the convolution layers, "conv5") inside the CNN model.


Does Core ML allow access to outputs of layers inside the CNN model like Caffe does?

Replies

Not directly, but you could extend the model's spec description to also expose intermediate results as additional outputs.