6Morpheus6 commited on
Commit
9a9db72
·
verified ·
1 Parent(s): 15efa80
Files changed (1) hide show
  1. model.py +2 -2
model.py CHANGED
@@ -59,8 +59,8 @@ class INF5Model(PreTrainedModel):
59
  )
60
  )
61
 
62
- # # Load state dict into model
63
- # self.ema_model.load_state_dict(state_dict, strict=False)
64
 
65
 
66
  def forward(self, text: str, ref_audio_path: str, ref_text: str):
 
59
  )
60
  )
61
 
62
+ # Load state dict into model
63
+ self.ema_model.load_state_dict(state_dict, strict=False, assign=True)
64
 
65
 
66
  def forward(self, text: str, ref_audio_path: str, ref_text: str):