mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-01-20 02:51:09 +00:00
bugfix: leaked semaphore error (#309)
* use config for n_cpu * rm import * fix process loop * unuse mp.spawn ref. https://discuss.pytorch.org/t/how-to-fix-a-sigsegv-in-pytorch-when-using-distributed-training-e-g-ddp/113518/10 * fix commentout
This commit is contained in:
@@ -154,7 +154,7 @@ if __name__ == "__main__":
|
||||
f0method,
|
||||
),
|
||||
)
|
||||
p.start()
|
||||
ps.append(p)
|
||||
for p in ps:
|
||||
p.join()
|
||||
p.start()
|
||||
for i in range(n_p):
|
||||
ps[i].join()
|
||||
|
||||
Reference in New Issue
Block a user