解决 pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)
生活随笔
收集整理的這篇文章主要介紹了
解决 pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
解決方法:
DataLoader函數(shù)中參數(shù)改成pin_memory = False
總結(jié)
以上是生活随笔為你收集整理的解决 pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Initialization
- 下一篇: 计算机听音乐没有声音怎么回事,电脑视频没