Paddle DataLoader 在num_worker=0时,配合ToTensor使用时segment fault,

wlzqhblo  于 2021-11-30  发布在  Java
关注(0)|答案(3)|浏览(382)

环境信息(by running : https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/tools/summary_env.py)

Paddle version: 2.1.0
Paddle With CUDA: True

OS: Ubuntu 16.04
Python version: 3.7.4

CUDA version: 10.1.243
cuDNN version: 7.3.1
Nvidia driver version: 450.51.06

复现脚本

https://gist.github.com/jzhang533/fd55249e50a57bdd761283e38a0bf584

出错信息

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0   std::thread::_Impl<std::_Bind_simple<ThreadPool::ThreadPool(unsigned long)::{lambda()#1} ()> >::_M_run()
1   std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)
2   paddle::framework::SignalHandle(char const*, int)
3   paddle::platform::GetCurrentTraceBackString[abi:cxx11]()

----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
  [TimeInfo:***Aborted at 1622439677 (unix time) try "date -d @1622439677" if you are using GNU date***]
  [SignalInfo:***SIGSEGV (@0x0) received by PID 137 (TID 0x7f867471b700) from PID 0***]
zpf6vheq

zpf6vheq1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

a6b3iqyw

a6b3iqyw2#

cc: @heavengate@saxon-zh

vtwuwzda

vtwuwzda3#

你好,我同样遇到了这个问题,请问你解决了吗

相关问题