mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 09:44:19 +01:00
fix a bug of name error (#179)
This commit is contained in:
@@ -289,7 +289,7 @@ class TrainDecoderConfig(BaseModel):
|
||||
# Then something else errored and we should just pass through
|
||||
return values
|
||||
|
||||
using_text_encodings = any([unet.cond_on_text_encodings for unet in decoder_config.unets])
|
||||
using_text_embeddings = any([unet.cond_on_text_encodings for unet in decoder_config.unets])
|
||||
using_clip = exists(decoder_config.clip)
|
||||
img_emb_url = data_config.img_embeddings_url
|
||||
text_emb_url = data_config.text_embeddings_url
|
||||
|
||||
Reference in New Issue
Block a user