cvlab-epfl / disk

Disk code release
Apache License 2.0
317 stars 46 forks source link

Using mp.Pool can cause the training process to get stuck. #22

Closed Martin0Li closed 1 year ago

Martin0Li commented 1 year ago

Currently using DummyPool as a replacement, and no better solution has been found yet.

jatentaki commented 1 year ago

Hi, the implementation is indeed incorrect in terms of how python multiprocessing should be used but it never caused any issues on my hardware. I pushed a fix to the pool-issues branch of repository. Please see if that resolves the issue for you and if so, I will merge it to master.

Martin0Li commented 1 year ago

It works.

jatentaki commented 1 year ago

Thanks, now it's on master :)