-
Re: App is crashing due to mlmodel file url not found in iOS 13 beta and above
FrankSchlegel Sep 19, 2019 2:21 AM (in response to MahaSVS)The extension of models built and bundled with your app is actually
.mlmodelc
, maybe it has something to do with that?Also, did you check that the model is actually bundles with your app?
-
Re: App is crashing due to mlmodel file url not found in iOS 13 beta and above
MahaSVS Sep 20, 2019 5:38 AM (in response to FrankSchlegel)Yes, it bundles correctly. Maybe I will check with Xcode 11 and let you know. Till now have checked in Xcode 10.3 with iOS 13 disk image.
-
-
Re: App is crashing due to mlmodel file url not found in iOS 13 beta and above
wrth Oct 23, 2019 7:29 AM (in response to MahaSVS)Hi,
Were you able to find a workaround for this issue ? I'm hitting the exact same error, CoreML seems to expect non compiled models after iOS13, but there is nothing specified in the documentation about new functions for loading mlmodelc files.
Thanks.
-
Re: App is crashing due to mlmodel file url not found in iOS 13 beta and above
MahaSVS Oct 31, 2019 4:00 AM (in response to wrth)No not yet i have filed a bug with Apple to get help from them.Few said the compiled model should be coreml3.
-
-
Re: App is crashing due to mlmodel file url not found in iOS 13 beta and above
Sneha.Kolukuluri Nov 4, 2019 2:49 AM (in response to MahaSVS)Any update on this, even I am facing this issue.
-
Re: App is crashing due to mlmodel file url not found in iOS 13 beta and above
akatti Dec 2, 2019 10:45 PM (in response to MahaSVS)I think this is a bug in iOS 13. The API seems to only accept .mlmodelc but the error message is misleading. What worked for me is passing a file-based URL instead of the URL without any scheme.
For example,
public init(url: URL) {
print("url :\(url)")
let fileURL = URL(fileURLWithPath: url.absoluteString)
self.model = try! TestModel(contentsOf: fileURL)
}