cocoa-ai/NamesCoreMLDemo

Xcode 9 beta 6 `There was an problem decoding this CoreML document`

jstedfast opened this issue · 2 comments

validator error: Description of multiarray feature '__feature_vector__' has an invalid or unspecified dataType. It must be specified as DOUBLE, FLOAT32 or INT32

  1. Remove the existing NamesDT.mlmodel file from the project navigator.
  2. Cd into the Convert folder and run python names.py. This will generate a new NamesDT.mlmodel
  3. Drag and drop the new NamesDT.mlmodel into the Resources folder in the project navigator. Make sure Names is checked under the target membership.
  4. Run

Thanks @benaneesh ! I've updated CoreML model with a new one convered using coremltools 0.6.3 @jstedfast