I am trying to use Classify to train an image classifier on a dataset of 30k+ images. I followed this tutorial and created a list of the form {File[…]->class,…}. I can use NetTrain with this list, but when I try to use Classify it seems that Classify does not understand to import the images files and instead directly treats the File references as the inputs, evident by the input type reading "Nominal". Thus, it achieves an expectedly terrible result.

How can I pass a list of File references to Classify? Or, alternatively, how can I write some sort of data loader that only imports the images that are currently needed and pass that to Classify?

Thanks in advance.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.