https://github.com/gligen/GLIGEN
第三方实现的:
https://github.com/TonyLianLong/igligen
报错代码:
self.text_encoder.load_state_dict(state_dict["text_encoder"],strict=False)
报错:
unexpected_keys=['transformer.text_model.embeddings.position_ids']
https://github.com/gligen/GLIGEN
第三方实现的:
https://github.com/TonyLianLong/igligen
报错代码:
self.text_encoder.load_state_dict(state_dict["text_encoder"],strict=False)
报错:
unexpected_keys=['transformer.text_model.embeddings.position_ids']