samedii / perceptor

Modular image generation library
Other
5 stars 1 forks source link

Migrate to transformers implementation of CLIP #50

Closed samedii closed 2 years ago

samedii commented 2 years ago

https://github.com/huggingface/transformers

Allows returning last hidden layer that is used in stable diffusion.

samedii commented 2 years ago

The resnet models are not supported in transformers