optimize: no json config writeback

This commit is contained in:
源文雨
2023-09-02 13:53:56 +08:00
parent 3f78b73ec7
commit ad85b02ed9
8 changed files with 85 additions and 61 deletions

View File

@@ -358,7 +358,7 @@ if __name__ == "__main__":
)
if event == "start_vc" and self.flag_vc == False:
if self.set_values(values) == True:
logger.info("Use CUDA: %b", torch.cuda.is_available())
logger.info("Use CUDA: %s", torch.cuda.is_available())
self.start_vc()
settings = {
"pth_path": values["pth_path"],