spdl.source.imagenet

Overview

Iterable for ImageNet dataset.

API Reference

Functions

get_mappings

get_mappings

Get the mapping from WordNet ID to class and label.

parse_wnid

parse_wnid

Parse a WordNet ID (nXXXXXXXX) from string.

Classes

ImageNet

ImageNet

Traverse the local file directory contains ImageNet dataset.