microsoft / Swin-Transformer

This is an official implementation for "Swin Transformer: Hierarchical Vision Transformer using Shifted Windows".
https://arxiv.org/abs/2103.14030
MIT License
13.87k stars 2.05k forks source link

imagenet 21k val_map.txt and imagenet1k val_map.txt for infer #195

Open JasonDu1993 opened 2 years ago

JasonDu1993 commented 2 years ago

can you provide the imagenet 21k val_map.txt and imagenet1k val_map.txt, thanks!

JasonDu1993 commented 2 years ago

issue18 imagenet1k val_mnap: https://github.com/microsoft/Swin-Transformer/files/8529898/val_map.txt

xwhkkk commented 2 years ago

hello, do you know to generate the Imagenet1K train_map.txt?

JasonDu1993 commented 2 years ago

hello, do you know to generate the Imagenet1K train_map.txt? class-descriptions-1k.txt this is the Imagenet1K index map the class name

use the the function sort of python for the class name, you can get the index