1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

fix(train): RuntimeError: context has already been set

This commit is contained in:
源文雨
2024-06-04 01:58:26 +09:00
parent b8e0940175
commit ed96cf1721
3 changed files with 2 additions and 5 deletions

View File

@@ -636,5 +636,5 @@ def train_and_evaluate(
if __name__ == "__main__":
torch.multiprocessing.set_start_method("spawn")
mp.set_start_method("spawn", force=True)
main()