Posts

Post not yet marked as solved
4 Replies
663 Views
Hi, while I was able to successfully retrieve MLModelCollection with a list of model identifiers from Apple's CoreML Deployment Dashboard, loading encrypted models from a collection results in the following error: NSUnderlyingError=0x281ffb810 {Error Domain=com.apple.CoreML Code=3 "failed to invoke mremap_encrypted with result = -1, error = 12" UserInfo={NSLocalizedDescription=failed to invoke mremap_encrypted with result = -1, error = 12}}} I use the same MLModel.load(contentsOf:configuration:completionHandler:) method with model URLs (from MLModelCollection) which works just fine for non–encrypted models. Is there any workaround for this issue?
Posted Last updated
.