Skip to content

How to load the image datasets? #1

@hlin863

Description

@hlin863

When executing the code blocks:

in_dataset, in_loaders, normalization_function, label_map_IN = utils.load_dataset('imagenet',
                                                                 batch_size=5,
                                                                 num_workers=1)

There is an error of:
RuntimeError: Found 0 files in subfolders of ./data\train

Which datasets are we required to download for the code's execution?
Are we supposed to create the subfolders manually or automatically?

Thanks and Best wishes,

Haocheng

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions