Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #18824

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 7月 25, 2019 by saxon_zh@saxon_zhGuest

pyreader返回数据size错误

Created by: Rayarrow94

GPU训练报错:

Traceback (most recent call last): File "train.py", line 734, in train(args) File "train.py", line 685, in train train_exe.run(fetch_list=[]) File "/home/disk2/chenjian11/tools/python36/lib/python3.6/site-packages/paddle/fluid/parallel_executor.py", line 303, in run self.executor.run(fetch_list, fetch_var_name) paddle.fluid.core.EnforceNotMet: Invoke operator read error. Python Callstacks: File "/home/disk2/chenjian11/tools/python36/lib/python3.6/site-packages/paddle/fluid/framework.py", line 1317, in append_op attrs=kwargs.get("attrs", None)) File "/home/disk2/chenjian11/tools/python36/lib/python3.6/site-packages/paddle/fluid/layer_helper.py", line 56, in append_op return self.main_program.current_block().append_op(args, kwargs) File "/home/disk2/chenjian11/tools/python36/lib/python3.6/site-packages/paddle/fluid/layers/io.py", line 1075, in read_file type='read', inputs={'Reader': [reader]}, outputs={'Out': out}) File "train.py", line 287, in create_model label, inputmask_query_ids, inputmask_gs_feed_title, inputmask_rec_query = fluid.layers.read_file(pyreader) File "train.py", line 565, in train cost_ad = create_model(pyreader_name='train_reader', ernie_config=ernie_config) File "train.py", line 734, in train(args) C++ Callstacks: Enforce failed. Expected ins.size() == out_arg_names.size(), but received ins.size():1 != out_arg_names.size():45. at [/paddle/paddle/fluid/operators/reader/read_op.cc:107] PaddlePaddle Call Stacks: 0 0x7f6d2382437dp void paddle::platform::EnforceNotMet::Initstd::string(std::string, char const, int) + 365 1 0x7f6d238246c7p paddle::platform::EnforceNotMet::EnforceNotMet(std::string const&, char const, int) + 87 2 0x7f6d244a57e5p paddle::operators::ReadOp::RunImpl(paddle::framework::Scope const&, boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace, paddle::platform::CUDAPinnedPlace, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> const&) const + 3237 3 0x7f6d252ff175p paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace, paddle::platform::CUDAPinnedPlace, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> const&) + 341 4 0x7f6d25176169p 5 0x7f6d2516ecedp 6 0x7f6d2516e635p paddle::framework::details::OpHandleBase::RunAndRecordEvent(std::function<void ()> const&) + 805 7 0x7f6d25175dfcp paddle::framework::details::ComputationOpHandle::RunImpl() + 124 8 0x7f6d2516f556p paddle::framework::details::OpHandleBase::Run(bool) + 118 9 0x7f6d2510776dp 10 0x7f6d2510816dp paddle::framework::details::ThreadedSSAGraphExecutor::RunOp(std::shared_ptr<paddle::framework::BlockingQueuepaddle::framework::details::VarHandleBase* > const&, paddle::framework::details::OpHandleBase) + 1309 11 0x7f6d25109de4p paddle::framework::details::ThreadedSSAGraphExecutor::Run(std::vector<std::string, std::allocatorstd::string > const&) + 2324 12 0x7f6d25100e6ap paddle::framework::details::ScopeBufferedSSAGraphExecutor::Run(std::vector<std::string, std::allocatorstd::string > const&) + 394 13 0x7f6d2395f1f2p paddle::framework::ParallelExecutor::Run(std::vector<std::string, std::allocatorstd::string > const&, std::string const&) + 562 14 0x7f6d23813fcep 15 0x7f6d2384f1eep 16 0x7f6d8f1db9fdp _PyCFunction_FastCallDict + 557 17 0x7f6d8f273f18p 18 0x7f6d8f278b56p _PyEval_EvalFrameDefault + 16774 19 0x7f6d8f273daep 20 0x7f6d8f2740c2p 21 0x7f6d8f2785a8p _PyEval_EvalFrameDefault + 15320 22 0x7f6d8f273440p 23 0x7f6d8f274364p 24 0x7f6d8f278b56p _PyEval_EvalFrameDefault + 16774 25 0x7f6d8f273daep 26 0x7f6d8f2743ddp PyEval_EvalCodeEx + 109 27 0x7f6d8f27442bp PyEval_EvalCode + 59 28 0x7f6d8f2af2b2p PyRun_FileExFlags + 178 29 0x7f6d8f2af417p PyRun_SimpleFileExFlags + 231 30 0x7f6d8f2cb51dp Py_Main + 3757 31 0x400bbcp main + 364 32 0x7f6d8e45bbd5p __libc_start_main + 245 33 0x400c7dp

terminate called without an active exception

* Aborted at 1564063111 (unix time) try "date -d @1564063111" if you are using GNU date *

PC: @ 0x0 (unknown)

* SIGABRT (@0x1fc00004672) received by PID 18034 (TID 0x7f67f293e700) from PID 18034; stack trace: *

@ 0x7f6d8ef01160 (unknown) @ 0x7f6d8e46f3f7 __GI_raise @ 0x7f6d8e4707d8 __GI_abort @ 0x7f6d8247cc65 __gnu_cxx::__verbose_terminate_handler() @ 0x7f6d8247ae06 __cxxabiv1::__terminate() @ 0x7f6d8247ae33 std::terminate() @ 0x7f6d8247aa87 __gxx_personality_v0 @ 0x7f6d8294d964 _Unwind_ForcedUnwind_Phase2 @ 0x7f6d8294dcb4 _Unwind_ForcedUnwind @ 0x7f6d8eeffc30 __GI___pthread_unwind @ 0x7f6d8eefa565 __pthread_exit @ 0x7f6d8f2c71ff PyThread_exit_thread @ 0x7f6d8f27306a PyEval_RestoreThread @ 0x7f6d2383ca29 pybind11::gil_scoped_release::~gil_scoped_release() @ 0x7f6d238060e3 ZZN8pybind1112cpp_function10initializeIZN6paddle6pybindL18pybind11_init_coreERNS_6moduleEEUlRNS2_9operators6reader22LoDTensorBlockingQueueERKSt6vectorINS2_9framework9LoDTensorESaISC_EEE60_bIS9_SG_EINS_4nameENS_9is_methodENS_7siblingEEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS_6detail13function_callEE1_4_FUNESY @ 0x7f6d2384f1ee pybind11::cpp_function::dispatcher() @ 0x7f6d8f1db9fd _PyCFunction_FastCallDict @ 0x7f6d8f273f18 call_function @ 0x7f6d8f278b56 _PyEval_EvalFrameDefault @ 0x7f6d8f273dae _PyEval_EvalCodeWithName @ 0x7f6d8f2743dd PyEval_EvalCodeEx @ 0x7f6d8f1b4893 function_call @ 0x7f6d8f18241a PyObject_Call @ 0x7f6d8f2784af _PyEval_EvalFrameDefault @ 0x7f6d8f273440 _PyFunction_FastCall @ 0x7f6d8f274364 call_function @ 0x7f6d8f278b56 _PyEval_EvalFrameDefault @ 0x7f6d8f273440 _PyFunction_FastCall @ 0x7f6d8f274364 call_function @ 0x7f6d8f278b56 _PyEval_EvalFrameDefault @ 0x7f6d8f273440 _PyFunction_FastCall @ 0x7f6d8f27cb56 _PyFunction_FastCallDict Aborted
指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#18824
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7