BR-IDL / PaddleViT

:robot: PaddleViT: State-of-the-art Visual Transformer and MLP Models for PaddlePaddle 2.0+
https://github.com/BR-IDL/PaddleViT
Apache License 2.0
1.22k stars 317 forks source link

一个小bug,datasets.Cifar10 的mode应该是test而不是val #81

Closed wzh326 closed 2 years ago

wzh326 commented 2 years ago

PaddleViT/image_classification/SwinTransformer/datasets.py 下 1 在paddle的文档中,datasets.Cifar10 的预测mode 应该为'test'而不是val 2 因此我将代码改为 3 就可以正常跑通了

GuoQuanhao commented 2 years ago

感谢指正,这确实是一个bug