Skip to content

Commit 1e173f4

Browse files
committed
more fixes to config
1 parent 410a614 commit 1e173f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

configs/train_decoder_config.test.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dim_mults": [1, 2, 4, 8],
1010
"attn_dim_head": 16,
1111
"attn_heads": 4,
12-
"self_attn": [false, true, true, true]
12+
"self_attn": [false, true, true, true]
1313
}
1414
],
1515
"clip": {

dalle2_pytorch/train_configs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class UnetConfig(BaseModel):
233233
cond_on_text_encodings: Optional[bool] = None
234234
cond_dim: Optional[int] = None
235235
channels: int = 3
236-
self_attn: ListOrTuple[int]
236+
self_attn: ListOrTuple[bool]
237237
attn_dim_head: int = 32
238238
attn_heads: int = 16
239239
init_cross_embed: bool = True
@@ -245,7 +245,7 @@ class DecoderConfig(BaseModel):
245245
unets: ListOrTuple[UnetConfig]
246246
image_size: Optional[int] = None
247247
image_sizes: ListOrTuple[int] = None
248-
clip: Optional[AdapterConfig] # The clip model to use if embeddings are not provided
248+
clip: Optional[AdapterConfig] = None # The clip model to use if embeddings are not provided
249249
channels: int = 3
250250
timesteps: int = 1000
251251
sample_timesteps: Optional[SingularOrIterable[Optional[int]]] = None

dalle2_pytorch/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.15.4'
1+
__version__ = '1.15.5'

0 commit comments

Comments
 (0)