Warning: Leaking Caffe2 thread-pool after fork

Posted knowform

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Warning: Leaking Caffe2 thread-pool after fork相关的知识,希望对你有一定的参考价值。

[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)
[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)
[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)
[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)

parser.add_argument(’–num_workers’,default=1,type=int)

https://discuss.pytorch.org/t/dataloader-when-num-worker-0-there-is-bug/25643/37

以上是关于Warning: Leaking Caffe2 thread-pool after fork的主要内容,如果未能解决你的问题,请参考以下文章