sail-sg / poolformer

PoolFormer: MetaFormer Is Actually What You Need for Vision (CVPR 2022 Oral)
https://arxiv.org/abs/2111.11418
Apache License 2.0
1.3k stars 117 forks source link

I only obtain 0.096 top1 acc when I test the official poolformer_s12 model. #8

Closed gaobb closed 3 years ago

gaobb commented 3 years ago

hi, all

I only obtain 0.096 top1 acc when I test the official poolformer_s12 model. Has anyone run into the same problem?

torch=1.7.0a0 torchvision=0.8.0a0+45f960c timm=0.5.0

wecom-temp-873f40c8a9cede63970576ee673f6570
gaobb commented 3 years ago

The target labels of all validation images are incorrectly initialized to 0 due to the no-compliant folder structure of the validation set.

The correct folder structure of the validation set is as follows:

├──val/
│  ├── n01440764
│  │   ├── ILSVRC2012_val_00000293.JPEG
│  │   ├── ILSVRC2012_val_00002138.JPEG
│  │   ├── ......
│  ├── ......