ControlNet icon indicating copy to clipboard operation
ControlNet copied to clipboard

Train: Some weights of the model checkpoint at openai/clip-vit-large-patch14 were not used when initializing CLIPTextModel

Open alelordelo opened this issue 2 years ago • 1 comments

When running training with the exact settings as the tutorial fill50k dataset, I got this: got this:

Some weights of the model checkpoint at openai/clip-vit-large-patch14 were not used when initializing CLIPTextModel: ['vision_model.encoder.layers.9.self_attn.q_proj.weight', 'vision_model.encoder.layers.16.layer_norm2.bias', ''vision_model.encoder.layers.0.layer_norm2.weight', 

- This IS expected if you are initializing CLIPTextModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing CLIPTextModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).

Is that expected?

thanks!

alelordelo avatar Apr 11 '23 09:04 alelordelo

I met the same problem. Have you solved it?

LUOMIA avatar May 23 '24 03:05 LUOMIA