likedan / Core-ML-Car-Recognition

A Car Recognition Framework for CoreML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoreML Model Compiler Error

aleksbgs opened this issue · comments

Hi i have this error unable to read document CarRecognition.mlmodel ,i am using xcode 9.2

I think the project file doesn't come with the model. You just need to download the model and drag into Xcode.

@likedan Hi, I guess I did not see where to download it. Do you have a chance to share the MLModel file? I want to try it directly example. I do not know about Coreml conversion yet. Thanks.

CoreML Model file is missing in the project folder. Could you please share the same..

In order to make it works I followed these steps:

  1. Open Terminal and go to Core-ML-Car-Recognition/Convert folder
  2. Execute pip install -U coremltools
  3. Execute python2 convert.py

After that, the CarRecognition.mlmodel file was generated in the same folder and project compiled ok.