FastImageFolder¶
-
class
torchelie.datasets.
FastImageFolder
(root: str, *args, **kwargs)¶ Load an ImageFolder dataset faster by caching the file list the first time it is accessed. Force refreshing by deleting
{root}/cached_list.pth
.Forwards all arguments to torchvision.datasets.ImageFolder
- Returns
The ImageFolder transparently loaded faster.