wangyueying666
wangyueying666
Have you solved the problem? I also couldn't run the test.py with a keyerror
> found it. I had to change this in test.py set the default parser.add_argument('--vit_name', type=str, default='R50-ViT-B_16', help='select one vit model') Thank you very much. That really worked out!
> found it. I had to change this in test.py set the default parser.add_argument('--vit_name', type=str, default='R50-ViT-B_16', help='select one vit model') Sorry to bother you, but do you know why it...
> in train.py we used a pretrained model default='R50-ViT-B_16' it should be the same in test.py to find where we saved the model and make the prediction on our test...
> > R50-ViT > > 你好,我运行test.py时遇到下面的问题,请问你知道如何解决吗 ,十分感谢! > >  是不是数据的问题?打不开.h5文件?
> > > > 我不知道是哪个数据出了问题,用的数据是作者给我的 你再检查一下路径有没有问题,你改过代码嘛?