Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image sizes in datasets #139

Open
Ingvar-Y opened this issue Sep 9, 2021 · 1 comment
Open

Image sizes in datasets #139

Ingvar-Y opened this issue Sep 9, 2021 · 1 comment

Comments

@Ingvar-Y
Copy link

Ingvar-Y commented Sep 9, 2021

What are the image sizes in datasets? It would be nice to know since torchmeta tries to standardise few-shot learning datasets and this info isn't readily available from looking at sources.

@tristandeleu
Copy link
Owner

This information is indeed not available right away unfortunately. If you are using the datasets with torchmeta.datasets.helpers, then this information can be found by looking at the Resize transforms, although it is a bit hidden. For example, in Omniglot the images have size 28. Otherwise if you are not using torchmeta.datasets.helpers, the image sizes are the default ones from the extracted dataset (e.g. 105 in Omniglot).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants