Post

Replies

Boosts

Views

Activity

Reply to Loading CoreML model increases app size?
The only solution i found is to turn off using Apple neural engine. When setting up configuration use CPU and GPU (rather than allComputeUnits or CPU and ANE options). not ideal since it is slower using metal. i haven’t tried to release it to product and check there - don’t want to get poor feedback from users! maybe I can try to release to test flight and check to see. Will let you know
Aug ’24
Reply to Membership expired, no where to renew it?
Had the same problem (expired but can't see a renew button anywhere - on dev app or on developer website)- this worked for me go to the app store and log in using the same email u used for the previous purchases click the account (top right), and you will see "subscriptions" and other options. I tapped on subscriptions, and saw my developer subscription has expired, and an option to renew or repurchase - I can't remember I clicked on it and then it was like a normal App Store purchase Immediately renewed my membership and the App Store Connect no longer says expired and access to everything is back not sure if this was significant - I used to be in the UK so on the UK App Store, then I moved to Spain and switched stores, maybe that messed up my auto-renew? anyway before I tried the above I switched my App Store region back to the UK, not sure if it made a difference or not. Anyway, total waste of time, but hope it helps someone else!
Dec ’23
Reply to How to retrieve/save model after and during training
Just a quick follow up, it’s is working now - your code works, not sure why it didn’t the first time. I deleted the app and started a new project, and it’s all working now. one quick question - should I clean/wipe the session directory after each model training, to free up space? And where would the best practice be for storing the complied models? thanks again for your help, I will hopefully release this feature soon in my app!
Feb ’22
Reply to How to retrieve/save model after and during training
Hi, Thank you for the reply. I am following the tutorial on "Control training in CreateMl with Swift" to set up the training on the device. So to create the sessionsDirectory I used the following code. let experimentID = "test4" let sessionDirectory = URL(fileURLWithPath: "\(NSTemporaryDirectory())WWDC-\(experimentID)") What appears in the console is that the model is trained (iterations are shown to be completed), but then nothing else happens. I wonder if it is a problem with how I am using Combine to retrieve the results and checkpoints - none of the test print statements fire inside the closures, which suggests the code block has not run. job.result.sink { result in             print("result", result)         }         receiveValue: { model in print("result", model)         }         .store(in: &subscriptions) Your above code suggestion did not seem to run either. I am new to coding, and to combine, so I am sure this is a something simple. Any further help would be appreciated. Thanks again
Feb ’22