grader.fritz.ai

Anyone who has tried to put machine learning or AI models into their app has experienced the same frustrations. You find that one repo buried deep inside GitHub that has the exact model you need. Your week-long AWS training session finally finishes. All that’s left is to convert things to Core ML and drop it into Xcode and be done. You fire up a python shell, import coremltools, hit convert and…

ValueError: Keras layer '<class 'keras_contrib.layers.normalization.InstanceNormalization'>' not supported.

You spend a few hours feeding custom layer converters to coremltools and finally get that precious .mlmodel you seek. You add it to your Xcode project, build…compile…open…and…

Your app crawls. The camera stutters at 3 frames-per-second. Your phone is hot enough to fry an egg. Back to the drawing board. 🤦