Regarding creating the ImageNet validation set

I am doing a hyper-parameter tuning for self-supervised learning using ImageNet. BYOL [link] states (in Appendix D.1) that they used ‘the last 10009 last images of the official tensorflow ImageNet split’.

When I use torchvision.datasets.ImageNet, the last 10009 images only consist of images from couple classes. I don’t find any image_id for training set in devkit for ImageNet. How can I extract the ‘last’ 10009 images from ImageNet training set? Thank you ahead.

Please see the here:
and this post: