using coreml model
sam199488 opened this issue · 1 comments
i got this error while trying to test the corml model :
"[coreml] A Core ML custom neural network layer requires an implementation named 'scaling' which was not found in the global namespace."
and
"[coreml] Error creating Core ML custom layer implementation from factory for layer "scaling"."
I confirmed that coremltools can convert the model but I did not make an iOS application because I don't have a Mac.
I think you need to make a class called 'scaling' in Swift.
'scaling' is just a function of multiplication defined on on the code below.
keras-facenet/code/inception_resnet_v1.py
Lines 25 to 26 in 2a571cf
Please refer to the link below.
http://machinethink.net/blog/coreml-custom-layers/#putting-the-model-into-the-app