Post

Replies

Boosts

Views

Activity

Comment on Mixing Core ML w/ Metal Performance Shaders Graph?
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?
Topic: Graphics & Games SubTopic: Metal Tags:
Jan ’22
Comment on CreateMLComponents: Error in Playground
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?
Sep ’22
Comment on Mixing Core ML w/ Metal Performance Shaders Graph?
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?
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on CreateMLComponents: Error in Playground
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?
Replies
Boosts
Views
Activity
Sep ’22
Comment on PKCanvasView no longer shows edit (paste) menu on long press (iOS 16.1)
@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?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on PKCanvasView no longer shows edit (paste) menu on long press (iOS 16.1)
@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?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on PencilKit: Get eraser size?
Unfortunately not :(
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on PencilKit: Get eraser size?
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 :(
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23