-
-
Save fitomad/7cd2554f6fc5152f452136bfc2e16522 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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