Open qifeng22 opened 4 months ago
I face this problem.
@qifeng22 Thanks for following our work. I recommend to use the dataset: ILSVRC2012. And make sure your data path is correct, which should be suited for the class Imagenet in datautils.py. I hope this screenshot will be help.
okok,thanks
I test Full Float model, the accuracy is so low.
@AozhongZhang
@qifeng22 I think this issue is related to Timm. Make sure that config, train_transforms and test_transforms in quantize_main.py match the model you use (vit_small_patch16_224). Data transform is very important in timm.
ok, I will try check it.
I run this command .
python quantize_main.py vit_small_patch16_224 --data_path --batchsize 1024 --wbits 4 --greedy
However, the result is always so bad, is there another way to find out problems where the model occurred?
The following figure illustrates the content of the pretraining file.
@AozhongZhang
@qifeng22 I updated how to prepare the datasets, which will be helpful. Please see the prepare ImageNet datasets in README.md.
OK, thank you
@AozhongZhang