mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 09:44:19 +01:00
nevermind, do not enforce text encodings on first unet
This commit is contained in:
@@ -1852,7 +1852,7 @@ class Decoder(nn.Module):
|
|||||||
one_unet = one_unet.cast_model_parameters(
|
one_unet = one_unet.cast_model_parameters(
|
||||||
lowres_cond = not is_first,
|
lowres_cond = not is_first,
|
||||||
cond_on_image_embeds = not unconditional and is_first,
|
cond_on_image_embeds = not unconditional and is_first,
|
||||||
cond_on_text_encodings = not unconditional and (is_first or one_unet.cond_on_text_encodings),
|
cond_on_text_encodings = not unconditional and one_unet.cond_on_text_encodings,
|
||||||
channels = unet_channels,
|
channels = unet_channels,
|
||||||
channels_out = unet_channels_out
|
channels_out = unet_channels_out
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.12.0'
|
__version__ = '0.12.1'
|
||||||
|
|||||||
Reference in New Issue
Block a user