Instantly share code, notes, and snippets.

Embed
What would you like to do?
if let trainingURL = URL(string: "/Users/adolfo/Desktop/Data/Training"),
let validationURL = URL(string: "/Users/adolfo/Desktop/Data/Evaluation")
{
// Si existen las carpetas creamos los DataSource
let trainingDataSource = MLImageClassifier.DataSource.labeledDirectories(at: trainingURL)
let validationDataSource = MLImageClassifier.DataSource.labeledDirectories(at: validationURL)
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment