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的主要内容,如果未能解决你的问题,请参考以下文章
npgsql Leaking Postgres DB Connections:监控连接的方法?
(译)综合指南:通过Ubuntu 16.04上从Source构建来安装支持GPU的Caffe2
错误处理:RuntimeError: [enforce fail at ..caffe2serializeinline_container.cc:145] . PytorchStreamRead(代码