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

Which ImageNet-100? #137

Closed
YugeTen opened this issue Sep 14, 2021 · 12 comments
Closed

Which ImageNet-100? #137

YugeTen opened this issue Sep 14, 2021 · 12 comments

Comments

@YugeTen
Copy link

YugeTen commented Sep 14, 2021

Hi all,

First of all, thank you so much for creating this library, I have found it to be super useful for my own research!

I was wondering if you could provide some details on the ImageNet-100 dataset that you used? I cannot seem to find any "standard" ImageNet-100 dataset for downloading on the internet and the papers that use this dataset (eg. 1 and 2) seem to randomly select 100 classes from the dataset.

Any of your help would be much appreciated!

@vturrisi
Copy link
Owner

Hey,

Thanks for the comments! We are glad that this is useful for other researchers :)
About imagenet-100, you can get the list of classes from here.
We will probably add this list to our repo somewhere to avoid confusion.

@ankitpatnala
Copy link

Hi all,

First of all, thank you so much for creating this library, I have found it to be super useful for my own research!

I was wondering if you could provide some details on the ImageNet-100 dataset that you used? I cannot seem to find any "standard" ImageNet-100 dataset for downloading on the internet and the papers that use this dataset (eg. 1 and 2) seem to randomly select 100 classes from the dataset.

Any of your help would be much appreciated!

This repo is very useful tiny image-net to download images

@vturrisi
Copy link
Owner

thanks, I'll check it out

@YugeTen
Copy link
Author

YugeTen commented Sep 14, 2021

Hi @vturrisi, thanks for the swift response! Apologies, I should have done a more thorough search of the closed issues!

One more question: do you use all the images in these 100 classes?

@ankitpatnala thanks for sharing the repo :)

@vturrisi
Copy link
Owner

@YugeTen no worries! And yes, we use all the images, both for the self-supervised pertaining and the linear classifier.

@YugeTen
Copy link
Author

YugeTen commented Sep 14, 2021

Thank you!

@YugeTen YugeTen closed this as completed Sep 14, 2021
@chenshuang-zhang
Copy link

Hey,

Thanks for the comments! We are glad that this is useful for other researchers :) About imagenet-100, you can get the list of classes from here. We will probably add this list to our repo somewhere to avoid confusion.

@vturrisi Hi! Thank you for your update of pretrained checkpoints in the model zoo recently! I hope to use the checkpoint on ImageNet-100 for some evaluations, and I have downloaded the dataset as you said from here. However, I still have a question:

What's the order of class in the final 100-dim predictions? I mean, with the pretained checkpoint in the model zoo, what class is each dimension in the final 100-dim prediction logit?

Thank you very much!

@vturrisi
Copy link
Owner

Hey @YingYingFight
Just sort the labels and you will get the correct order, e.g., labels = sorted(Path(entry.name) for entry in os.scandir(data_path) if entry.is_dir()).

@chenshuang-zhang
Copy link

chenshuang-zhang commented Dec 17, 2021

Hey @YingYingFight Just sort the labels and you will get the correct order, e.g., labels = sorted(Path(entry.name) for entry in os.scandir(data_path) if entry.is_dir()).

@vturrisi Thank you for your reply!

I wonder the entry.name is like n02869837 or the class name like dog?

Thank you!

@vturrisi
Copy link
Owner

vturrisi commented Dec 17, 2021

it's the former (n02869837).

@chenshuang-zhang
Copy link

it's the former (n02869837).

@vturrisi

Got it! Thank you very much for your help!

@vturrisi
Copy link
Owner

No worries! Thanks for using the library :)

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

4 participants