0

我在跑

from pathos.multiprocessing import ProcessingPool
pool = ProcessingPool(4)
pool.map(...)

并在运行时打印以下内容:

not in depth 2
not in depth 3
not in depth 1
not in depth 2
not in depth 3
not in depth 1
not in depth 2
not in depth 3
not in depth 1

这是什么意思?这是否意味着我可以采取任何措施来防止错误提高性能?

4

1 回答 1

0

statsmodels当回归结果被腌制时,该错误消息来自(请参阅github 上提出的问题)。

ProcessingPool在发送给工作人员时腌制输入,这就是为什么在映射我的函数时会出现此特定消息,但在迭代运行时不会出现。

于 2017-11-11T13:31:56.100 回答