Hi @tzutalin,
Thank you for sharing this valuable code.
Using your code I downloaded images of bird using --wnid n01503061
Now I have annotations in the following naming format:

However, name of the downloaded images for the same wnid don't match with its annotations:

Could you please give me any hint on what I am missing here.
Thx!