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

Clarification of ImageNet dataset used #12

Open
MiguelCosta94 opened this issue Sep 29, 2022 · 3 comments
Open

Clarification of ImageNet dataset used #12

MiguelCosta94 opened this issue Sep 29, 2022 · 3 comments

Comments

@MiguelCosta94
Copy link

Hi,

I am trying to evaluate the mcunet-320kB implemented in TFLite using your eval_tflite.py script. I followed the steps provided in this Git issue ( #11 ), but I am still getting a very low accuracy of 0.08%. I downloaded the 2012 version of the ImageNet dataset from this link https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_val.tar and have prepared the repo using this script https://github.com/pytorch/examples/blob/main/imagenet/extract_ILSVRC.sh . I am doing something wrong?

@tonylins
Copy link
Contributor

tonylins commented Sep 29, 2022

Hi, could you please check if you can reproduce the ImageNet accuracy number of pre-trained torchvision models with the official PyTorch evaluation script? Thanks!

@tonylins
Copy link
Contributor

We followed the procedures here to process the dataset: https://github.com/pytorch/examples/tree/main/imagenet

@MiguelCosta94
Copy link
Author

I was already able to reproduce the results from the paper. They are now very close to the reported accuracy +-2%. Thank you so much.

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