This commit is contained in:
songkey-win
2025-03-30 22:34:46 +08:00
parent 445e3639c1
commit cde31c9def
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class HM3VideoPipeline(HMPipeline):
hm_motion_dir = 'songkey/hm4_motion'
hm_adapter = HM3ReferenceAdapter.from_pretrained(hm_reference_dir)
motion_adapter = HM3MotionAdapter().from_pretrained(hm_motion_dir)
motion_adapter = HM3MotionAdapter.from_pretrained(hm_motion_dir)
if isinstance(self.unet, HM3DenoisingMotion):
self.unet.insert_reference_adapter(hm_adapter)