Thanks for the reply. Yes, I’d like to decouple code from weights & deploy weights out-of-band.
Say I want to develop an app with a trained ML model bundled inside, but I want to build & train this model using only MPSG, and not TF/PyTorch b/c I enjoy writing Swift code and hate model conversions. Now, after I trained my model in, e.g., a playground, how can I export the model into a format that I can include in my app project?
Post
Replies
Boosts
Views
Activity
Hi @amadeusu, sorry for my late reply! I was running Xcode 14 beta 1 on macOS Ventura dev beta 1. No extra packages. I just checked with Xcode 14 beta 6 on the latest Ventura public beta, and it works fine too. Also tried importing the libraries on both an Intel Mac and an M1 one, both works. The only place I remember seeing No such module 'CreateMLComponents' is when I was trying to import it on my iPad playground. Have you managed to solve the issue?
@mbuchetics you're welcome! Please see my reply below since I can't post code blocks here. Btw, could you share your app's name?
@mbuchetics you're welcome! Please see my reply below since I can't post code blocks here. Btw, could you share your app's name?
Unfortunately not :(
Apparently my last reply is not showing so here's another go after 3 months. I failed to find a solution, and I believe that no solution exists in the current version of PencilKit :(