1/ PSA/rant: If your'e a developer trying to port a deep learning model from Onnx to Core ML and are finding that Apple's onnx-coreml conversion script isn't working out of the box- you aren't alone. While iOS13 has brought about great improvements to what you can do in Core ML,
-
Show this thread
-
2/ the path getting there is still not easy. In my case, the onnx-coreml conversion script proved to make some weirdly bad assumptions about what would be in a model. My issues all revolved around tensor rank (it didn't like rank 2 in attention, and it somehow didn't pick up on
2 replies 0 retweets 3 likesShow this thread
3/ the rank in some otherwise very normal operations (conv/batch norm). I didn't dig into the code too much because quite frankly it's suspiciously complicated and I didn't want to deal with that. Instead, I just patched it up by modifying the script to work with my case-
3:01 PM - 28 Oct 2019
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.