Hi.
I'm attempting to add the YOLOv3 MLModel from the main apple.com domain to my project. I downloaded the .mlmodel file and added it to my project, but whenever I go to make an MLModel object of it, it keeps coming back with the following error
This is just by calling try MLModel.compileModel(at: url), where url is determined by Bundle.main.url(forResource: "YOLOv3", withExtension: "mlmodelc")
I don't understand why this is happening.
I'm attempting to add the YOLOv3 MLModel from the main apple.com domain to my project. I downloaded the .mlmodel file and added it to my project, but whenever I go to make an MLModel object of it, it keeps coming back with the following error
Code Block Error Domain=com.apple.CoreML Code=3 "Error reading protobuf spec. validator error: Model specification version field missing or corrupt." UserInfo={NSLocalizedDescription=Error reading protobuf spec. validator error: Model specification version field missing or corrupt.}
This is just by calling try MLModel.compileModel(at: url), where url is determined by Bundle.main.url(forResource: "YOLOv3", withExtension: "mlmodelc")
I don't understand why this is happening.