Skip to content

All for Swift Playgrounds!. Use Create ML to Train Model and Core ML to recognize animal species in Swift Playground on iPad. 完全在 Swift Playgrounds 实现的工程!使用 Create ML 框架训练机器学习模型,Core ML 框架使用模型在 iOS Playground 环境中让 iPad 来识别动物种类!

Notifications You must be signed in to change notification settings

DocRace/AnimalClassifier-Swift-Playground

Repository files navigation

AnimalClassifier-Swift-Playground

  • Swift 4.2 All for Swift Playgrounds!. Use Create ML to Train Model and Core ML to recognize animal species in Swift Playground on iPad. 完全在 Swift Playgrounds 实现的工程!使用 Create ML 框架训练机器学习模型,Core ML 框架使用模型在 iOS Playground 环境中让 iPad 来识别动物种类!

Features

  • Create ML
  • Core ML

How to use Core ML in swift Playground

Playground don't recognize .mlmodel file by default, so we need a iOS Project to help us find the compiled mlmodelc folder, and copy the mlmodelc folder to playground's resourse folder, and the auto generated helper class to playground's sourse folder and change it to public. Then it works!

YouTube Link Here

https://youtu.be/jmUSfVf3ADg

About

All for Swift Playgrounds!. Use Create ML to Train Model and Core ML to recognize animal species in Swift Playground on iPad. 完全在 Swift Playgrounds 实现的工程!使用 Create ML 框架训练机器学习模型,Core ML 框架使用模型在 iOS Playground 环境中让 iPad 来识别动物种类!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published