Python multiprocessing.Queue deadlocks on put and get

后端 未结 2 1502
清酒与你
清酒与你 2021-01-03 00:37

I\'m having deadlock problems with this piece of code:


def _entropy_split_parallel(data_train, answers_train, weights):
    CPUS = 1 #multiprocessing.cpu_co         


        
2条回答
  •  被撕碎了的回忆
    2021-01-03 01:21

    This problem went away with newer versions of Python, so I'm assuming it was a problem with the backport. Anyways, it's no longer an issue.

提交回复
热议问题