Skip to content

Instantly share code, notes, and snippets.

@iosdevie
Created May 26, 2021 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iosdevie/5ec12a53838149d49f28056795fac12b to your computer and use it in GitHub Desktop.
Save iosdevie/5ec12a53838149d49f28056795fac12b to your computer and use it in GitHub Desktop.
Retrieve URL of the MLModel
let fileManager = FileManager.default
let documentDirectory = try fileManager.url(for: .documentDirectory, in: .userDomainMask, appropriateFor:nil, create:true)
let modelURL = documentDirectory.appendingPathComponent("CatDog.mlmodelc")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment