Skip to content

Create Image Classification/Clustering Sample w/ DnnImageFeaturizerTransform #225

@justinormont

Description

@justinormont

We do have a sample of image classification w/ TF.

Instead (or in addition), we should demonstrate the use of DnnImageFeaturizerTransform. Being easier to utilize, we should be encouraging users to make use of it.

I'd recommend using the Dog Breeds vs. Fruits dataset which we used in NimbusML for its image examples. We currently host this dataset in our CDN for NimbusML.

In Python, the dataset / image loader looks like:

# Load image summary data from github
url = "https://express-tlcresources.azureedge.net/datasets/DogBreedsVsFruits/DogFruitWiki.SHUF.117KB.735-rows.tsv"
df_train = pd.read_csv(url, sep = "\t", nrows = 100)
df_train['ImagePath_full'] = "https://express-tlcresources.azureedge.net/datasets/DogBreedsVsFruits/" + \
                         df_train['ImagePath']
... load images

Purpose of the dataset is for example code & includes ~775 images of dogs & fruit:
image
image

/cc @CESARDELATORRE, @JRAlexander

(copied from PR -- dotnet/machinelearning#2372 (review))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions