simulation.utils.machine_learning.data.image_folder module¶
A modified image folder class.
We modify the official PyTorch image folder (https://github.com/pytorch/vision/blob/master/torchvision/datasets/folder.py) so that this class can load images from both current directory and its subdirectories.
Summary¶
Functions:
Recursively search for images in the given directory. |
|
Check if a file is an image. |