mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-05-11 16:30:40 +00:00
Fix ernie unpatchify
This commit is contained in:
@@ -251,7 +251,7 @@ class ErnieImageModel(BaseModel):
|
||||
latents = latents * bn_std + bn_mean
|
||||
|
||||
# Unpatchify
|
||||
latents = self._unpatchify_latents(latents)
|
||||
latents = self.pipeline._unpatchify_latents(latents)
|
||||
|
||||
# Decode
|
||||
images = self.vae.decode(latents, return_dict=False)[0]
|
||||
|
||||
Reference in New Issue
Block a user