When I try to load a mlmodel file created by CreateML from Xcode 10, it throws this error:
model = coremltools.models.MLModel("ImageClassifier.mlmodel")
> Error compiling model: "Error reading protobuf spec.
> validator error: Model did not specify a valid model-parameter type."
It seems that the model loading fails when validating. Maybe we need to add the new "Image Classifier " to the spec?
Any idea on how I could read and explore the inside of a CreateML model? Thanks!
Hi,
When I try to load a mlmodel file created by CreateML from Xcode 10, it throws this error:
It seems that the model loading fails when validating. Maybe we need to add the new "Image Classifier " to the spec?
Any idea on how I could read and explore the inside of a CreateML model? Thanks!