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

Commit 5d5d664

Browse files
committed
fix middle blocks temp conv
1 parent d6fd9b0 commit 5d5d664

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
@@ -164,7 +164,7 @@
164164
unet_conversion_map_layer.append((sd_mid_atn_prefix, hf_mid_atn_prefix))
165165

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

0 commit comments

Comments
 (0)