Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit c388ad8

Browse files
authored
Fix Latent Diffusion Inferer tests (#128)
Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com> Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
1 parent c5de91b commit c388ad8

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

tests/test_latent_diffusion_inferer.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@
3838
"spatial_dims": 2,
3939
"in_channels": 3,
4040
"out_channels": 3,
41-
"model_channels": 8,
41+
"num_channels": [8, 8, 8],
4242
"norm_num_groups": 8,
43-
"attention_resolutions": [8],
43+
"attention_levels": [False, False, True],
4444
"num_res_blocks": 1,
45-
"channel_mult": [1, 1, 1],
46-
"num_heads": 1,
45+
"num_head_channels": 8,
4746
},
4847
(1, 1, 32, 32),
4948
(1, 3, 8, 8),
@@ -67,12 +66,11 @@
6766
"spatial_dims": 2,
6867
"in_channels": 3,
6968
"out_channels": 3,
70-
"model_channels": 8,
69+
"num_channels": [8, 8, 8],
7170
"norm_num_groups": 8,
72-
"attention_resolutions": [8],
71+
"attention_levels": [False, False, True],
7372
"num_res_blocks": 1,
74-
"channel_mult": [1, 1, 1],
75-
"num_heads": 1,
73+
"num_head_channels": 8,
7674
},
7775
(1, 1, 32, 32),
7876
(1, 3, 8, 8),

0 commit comments

Comments
 (0)