Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 419 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 419 Bytes

imagenetloader.torch

some old code that i wrote, might be useful to others.

If your dataset is of the form:

  • dogs/[image files of dogs]
  • cats/[image files of cats]
  • .
  • .
  • .

then this loader loads the dataset nicely, and you have class-balanced sampling, a test iterator and other useful things.

I also used it to load imagenet (both the 1.2million set and the 14 million full imagenet).