Expand description
Helper functions for ImageNet like datasets.
Constants
Functions
- Loads a dataset from a directory.
- Loads an image from a file and applies the ImageNet normalization.
- Loads an image from a file and resize it to the specified width and height. This applies the ImageNet normalization.
- Loads an image from a file and resize it to 224x224. This applies the ImageNet normalization.
- Loads an image from memory and resize it to 224x224. This applies the ImageNet normalization.
- Loads an image from memory and resize it to the specified width and height. This applies the ImageNet normalization.
- Loads an image from memory and applies the ImageNet normalization.
- Saves an image to a path. This unapplies the ImageNet normalization.
- Returns the top k classes as well as the associated scores.