sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

The prompt appears when the initializing checkpoint appears "This is not exten if you are initializing cliptextModel ..."

Open xiaoyoucheng opened this issue 2 years ago • 1 comments

- 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 BertForSequenceCla
ssification 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 mo
del from a BertForSequenceClassification model).

I'm not sure if I need to change anything to make it disappear

xiaoyoucheng avatar Feb 13 '23 02:02 xiaoyoucheng

I also meet the same issue, saying "vision_model.xx not used". I believe it will not affect the training, as vision model in CLIP is never used in the text encoder. This should be fixed in transformers i think.

tyz1994 avatar Feb 14 '23 07:02 tyz1994