Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CNChTu authored Jan 31, 2024
1 parent 03fe7f5 commit 2d9964b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/combine_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def save_combo_model(self, save_path, save_name):
if self.is_combo_trained_model:
save_dict = {
"diff_model": self.diff_model,
"diff_config_dict": self.diff_config_dict
"diff_config_dict": self.diff_config_dict,
"_is_comb_diff_model": True
}
else:
save_dict = {
Expand All @@ -77,7 +78,7 @@ def save_combo_model(self, save_path, save_name):
"naive_config_dict": self.naive_config_dict
}
if self.vocoder is not None:
print(self.vocoder['model'])
print(" [INFO] Saving vocoder model")
save_dict["vocoder"] = self.vocoder
save_dict["vocoder_type"] = self.vocoder_type
torch.save(save_dict, out_path)
Expand Down

0 comments on commit 2d9964b

Please sign in to comment.