56
57 # encode the init image into latents and scale the latents
---> 58 init_latents = self.vae.encode(init_image.to(self.device)).sample()
59 init_latents = 0.18215 * init_latents
60
AttributeError: 'AutoencoderKLOutput' object has no attribute 'sample'
I've tried to control the version of diffusers I am using with the Colab... but what gives? Why did it all of the sudden stop working on all of my colabs?
I've tried to control the version of diffusers I am using with the Colab... but what gives? Why did it all of the sudden stop working on all of my colabs?