hollance / YOLO-CoreML-MPSNNGraph

Tiny YOLO for iOS implemented using CoreML but also using the new MPS graph API.
MIT License
933 stars 252 forks source link

Generated coreml file crash on loading #9

Closed fsmanji closed 7 years ago

fsmanji commented 7 years ago

Hi, first of all thank you for providing such an amazing project. I've tried your demo it works great. When I tried to generate a new model following the steps and with the original .cfg and .weights file, everything works great, however when I try to load the generated yolo class from YOLO.swift, the app crashed everytime, could you help me if there's anything that I messed up ? I'm following the steps in readme. Great thanks.

here is the screenshot:

screen shot 2017-08-02 at 11 53 44 pm
fsmanji commented 7 years ago

More info: iOS 11 beta4, Xcode 9 beta3

hollance commented 7 years ago

That error message does not contain a lot of useful info. However, the first thing I'd try is updating Xcode to beta 4.

fsmanji commented 7 years ago

Thanks for quick reply @hollance ! I've tried that as well, but it doesn't help. I've found the issue, it's the problem with the tools versions. tensorflow 1.2.x + Keras 1.2.2 doesn't seemed to cause the issue.