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.