Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 3a418d8

Browse files
committed
more middle block weights carryover
1 parent 259bebb commit 3a418d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/convert_diffusers_to_original_ms_text_to_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
for j in range(2):
167167
hf_mid_res_prefix = f"mid_block.temp_convs.{j}."
168-
sd_mid_res_prefix = f"middle_block.{2*j+1}.temopral_conv."
168+
sd_mid_res_prefix = f"middle_block.{3*j}.temopral_conv."
169169
unet_conversion_map_layer.append((sd_mid_res_prefix, hf_mid_res_prefix))
170170

171171
# The pipeline

0 commit comments

Comments
 (0)