Replies: 1 comment 1 reply
-
@Divs1159 I see no issues with that model, you may have a corrupted weight file (partially downloaded, etc), you should find it in cache and delete Otherwise, full version / environment info needed to try a closer reproduction. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I tried the following code.
class ViTSmall16(nn.Module):
def init(self, n_classes, pretrained=False):
model = ViTSmall16(n_classes=2, pretrained=True)
But I get the error:
RuntimeError: Expected has Record("version") to be true, but got false.
How to resolve this? I didn't get any issues with vit_large_patch16_224, only with vit_small_patch16_384.
Please help
Beta Was this translation helpful? Give feedback.
All reactions