You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: Error(s) in loading state_dict for SimCLR:
size mismatch for encoder.conv1.weight: copying a param with shape torch.Size([64, 3, 3, 3]) from checkpoint, the shape in current model is torch.Size([64, 3, 7, 7]).
size mismatch for projection.model.3.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([128, 2048]).
Also, the checkpoints in the docs are wrong (they are the same as the ones for imagenet).
and Shouldn't we set some flags when initializing simCLR for CIFAR10 since the arch is different than imagenet ? (e.g. the kernel size of the initial convolutional layer for CIFAR10 is smaller.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
there seems to be a problem loading simCLR for CIFAR10:
output:
Also, the checkpoints in the docs are wrong (they are the same as the ones for imagenet).
and Shouldn't we set some flags when initializing simCLR for CIFAR10 since the arch is different than imagenet ? (e.g. the kernel size of the initial convolutional layer for CIFAR10 is smaller.)
Beta Was this translation helpful? Give feedback.
All reactions