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 CLIP: size mismatch for visual.conv1.weight: copying a param with shape torch.Size([768, 3, 32, 32]) from checkpoint, the shape in current model is torch.Size([768, 1, 32, 32]).
请问如何解决呀?
The text was updated successfully, but these errors were encountered:
我的数据集是(1,256,256)的灰度图,在训练DACLIP的时候会报如下的错误:🥲🥲🥲
我把如下路径中的conv1中的in_channel从3改为了1
结果会报错:
RuntimeError: Error(s) in loading state_dict for CLIP: size mismatch for visual.conv1.weight: copying a param with shape torch.Size([768, 3, 32, 32]) from checkpoint, the shape in current model is torch.Size([768, 1, 32, 32]).
请问如何解决呀?
The text was updated successfully, but these errors were encountered: