An Keyerror occurred while running the test.py
When running the test file, tracing back to class DecoderCup under the vit_seg_modeling file, the variable 'self.config.skip_channels' was not found.

I got the same error. Did u solve the issue?
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')
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 can be solved in this way?
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 database
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 database
I see! Thank you! Wish you all the best~
找到了。我必须在 test.py 中更改它设置默认 parser.add_argument('--vit_name', type=str, default='R50-ViT-B_16', help='select one vit model')
你好,我在运行test.py时出现如下错误:
请问你知道如何解决吗,非常感谢!
R50-ViT
你好,我运行test.py时遇到下面的问题,请问你知道如何解决吗 ,十分感谢!

R50-ViT
你好,我运行test.py时遇到下面的问题,请问你知道如何解决吗 ,十分感谢!
是不是数据的问题?打不开.h5文件?
我不知道是哪个数据出了问题,用的数据是作者给我的
我不知道是哪个数据出了问题,用的数据是作者给我的
你再检查一下路径有没有问题,你改过代码嘛?
我不知道是哪个数据出了问题,用的数据是作者给我的
你再检查一下路径有没有问题,你改过代码嘛?
没有动过,直接是作者给我的,方便加个联系方式吗,QQ 739371273 非常感谢你的回复!