Where is the Dataset and model file

I’m trying to run the codes in (EXPERIMENTAL) STATIC QUANTIZATION WITH EAGER MODE IN PYTORCH, but there are no dataset and model files available, such as imagenet_1k, mobilenet_quantization.pth and so on.
So anyone can provide the address of the necessary files and dataset in this tutorial?

1 Like

Also, static quantification of google colab is not available

@raghuramank100 can you take a look?

@raghuramank100 Need your help.

Hi frank, to run the tutorial, you will need to download imagenet dataset yourself, as we cannot upload imagenet images. The dataset can be obtained by using: https://pytorch.org/docs/stable/_modules/torchvision/datasets/imagenet.html#ImageNet

For the tutorial, you only need the floating point models as the tutorial walks through the process of creating a quantized model from a floating point model. The floating point mobilenet model can be found at: https://github.com/pytorch/vision/blob/master/torchvision/models/mobilenet.py#L9.

We will add more documentation to the tutorial so that these steps are clearer.

Thanks for your replay. I find the download urls are in the Makefile in github pytorch/tutorial.