xunings
xunings
In CouncilGAN, a center crop is applied for those images with h!=w, See https://github.com/Onr/Council-GAN/blob/7fe8f8a72ab1b00d4024dd09f414f53781f27eaa/utils.py#L127 Guess this is also what we need?
> Hey @xunings, > > Yes we indeed also skip the final layer of CLIP and instead use the "penultimate" layer. See: https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/text_encoder/config.json#L19 Hi @patrickvonplaten , Thanks a lot for...
> Yeah, sorry it's not super obvious and we should probably have left a least a comment in the code here. But just to confirm. > > * We use...
> For 1.4/1.5 it would be enough to just change the config. It'll throw a warning at loading, but should work. > > Nevertheless, one can also easily retrieve previous...
> > The last hidden state is normed in the code, but the other hidden states seem not. > > If we skip the last layer when using the model...
> > @patil-suraj by "If we skip the last layer when using the model" are you referring to modifying the "num_hidden_layers" config? > > @xunings yes, that's right. Thanks for...