I tried to build a classifier for some images that I have with the following code:
class1 = Import /@
FileNames["*",
"location1"];
class2 = Import /@
FileNames["*",
"location2"];
classifier =
Classify[Join[# -> "H" & /@
class1, # -> "C" & /@
class2]];
I believe that this would work, but it crashes with an out of memory error after the system tries to use more than 64GB of RAM.
Total size of all the images in collection is 42MB.
How can I build a classifier that in such a way that it doesn't require more than 64GB of RAM?
Update: I converted all the files to .jpg, and the issue remained.
Classify— they promise the world in a black box that can be used unsupervised w/o knowing anything, but it works only when you have infinite memory for it to overfit to every possible combinations of inputs /rant – rm -rf Mar 09 '16 at 04:23