iOS 15: Connecting SwiftUI to Core ML – BetterRest SwiftUI Tutorial 6/7

preview_player
Показать описание

Other parts in Project 4:

6. Connecting SwiftUI to Core ML: This video

Рекомендации по теме
Комментарии
Автор

Thank you Paul. It's a year old video but it's was insightful for me starting with Core ML. I really do understand much better and it's very similar to my studies.

Ivoshevo
Автор

Note to anyone confused about importing the mlmodel file and renaming it.. when you drag the file into Xcode's project navigator you have to drag it to position amongst the files in the BetterRest folder for it to populate and be seen there. Just dragging it into the project navigator will still import it seemingly, but you won't see the file in PN and can't rename it.

earthvitalutube
Автор

Please note that in the model.prediction(...), you may find that some parameters are now Int64. Just put Int64(...) instead of Double(...)

StuartZiane
Автор

Hey Paul! I am always wondering what screen recording software are you using? Your videos are always 4K!

shauryagupta
Автор

I want to just integrate apples published “Core ML Models” using “Swift Playgrounds 4 for iPad” ? I don’t want to use XCode or Swift Playgrounds 4 for Mac OS. Is it possible these days? If yes, how could I do that ?

freelancerwick
Автор

Hi Paul! I'm getting an error while executing Calculate method 

BetterRest[7440:193174] [coreml] Failed to get the home directory when checking model path.

I did exactly what you show in the video.
Tried to find solution online but nothing.
I made sure check the copy if needed box.
Tried to use both *.mlmodel files you shared and the one I created.
Changed names
Clean and build
Tried different devices

(Macbook Air M2, XCode Version 14.1, iOS 16.1)

cagrsakaoglu
Автор

Helpful video, but I couldn't avoid noticing that you present in a way that reminds me of James Acaster. I'm a fan so it doesn't really matter.

BjrnRuthberg
visit shbcf.ru