Log image directory snapshots

With log_image_dir_snapshots you can log visual snapshots of your image directories. For example in case we have an image directory with 3 subdirectories dog, cat, empty. Each contains (or not) images of given class.

You can log mosaic of image samples from those directories to neptune. Check this experiment.

img

You can visualy inspect a version of your dataset in Neptune.

Prerequisites

Initialize Neptune

[ ]:
import neptune
neptune.init('USER_NAME/PROJECT_NAME')

Log image directory snapshots with subfolders

[ ]:
from neptunecontrib.versioning.data import log_image_dir_snapshots

PATH = '/path/to/data/my_image_dir'
with neptune.create_experiment():
    log_image_dir_snapshots(PATH)