Compare commits

...

2 Commits

Author SHA1 Message Date
Phil Wang
46a2558d53 bug in pydantic decoder config class 2022-06-29 07:17:35 -07:00
yytdfc
86109646e3 fix a bug of name error (#179) 2022-06-29 07:16:44 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -1 +1 @@
__version__ = '0.12.3'
__version__ = '0.12.4'