Post

Replies

Boosts

Views

Activity

Reply to Keras model using YCbCr input converted to ARGB model
Core ML models can only accept RGB or BGR images as inputs (the alpha channel is ignored). If your model wants a YCbCr image, you'll need to put the image into an MLMultiArray instead. You'll also need to change the input of the Core ML model to be a multi-array, not an image. Alternatively, you could add some layers at the start of the model that convert RGB back to YCbCr, but that seems like more trouble than it's worth.
Topic: Media Technologies SubTopic: General Tags:
Jan ’21
Reply to Summation errors in average pooling of CoreML on M1 devices and Big Sur
I don't know what the answer is, but I would try running the model in CPU-only or GPU mode to see if it happens there too. Perhaps it's an issue with the ANE. In any case, these developer forums are pretty deserted. If this is an important issue for your business (and it sounds like it is), you should use one of your Tech Support Incidents or contact a developer evangelist from Apple.
Topic: Machine Learning & AI SubTopic: General Tags:
Jan ’21