Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • PaddleHub
  • Issue
  • #65

P
PaddleHub
  • 项目概览

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

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

运行predict时报错

Created by: TianZhenGG

Traceback (most recent call last): File "predict.py", line 76, in fluid.io.load_persistables(exe, args.checkpoint_dir) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/io.py", line 704, in load_persistables filename=filename) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/io.py", line 575, in load_vars filename=filename) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/io.py", line 610, in load_vars executor.run(load_prog) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/executor.py", line 565, in run use_program_cache=use_program_cache) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/executor.py", line 642, in run exe.run(program.desc, scope, 0, True, True, fetch_var_name) paddle.fluid.core.EnforceNotMet: Invoke operator load error. Python Callstacks: File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/framework.py", line 1654, in append_op attrs=kwargs.get("attrs", None)) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/io.py", line 596, in load_vars attrs={'file_path': os.path.join(dirname, new_var.name)}) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/io.py", line 575, in load_vars filename=filename) File "/home/tianzhen/.local/lib/python3.7/site-packages/paddle/fluid/io.py", line 704, in load_persistables filename=filename) File "predict.py", line 76, in fluid.io.load_persistables(exe, args.checkpoint_dir) C++ Callstacks: Cannot open file CKPT_DIR/@HUB_ernie-stable@encoder_layer_6_multi_head_att_key_fc.w_0 for load op at [/paddle/paddle/fluid/operators/load_op.h:37] PaddlePaddle Call Stacks: 0 0x7fe8da2e6830p void paddle::platform::EnforceNotMet::Init<char const*>(char const*, char const*, int) + 352 1 0x7fe8da2e6ba9p paddle::platform::EnforceNotMet::EnforceNotMet(std::exception_ptr::exception_ptr, char const*, int) + 137 2 0x7fe8da8b65a6p paddle::operators::LoadOpKernel<paddle::platform::CPUDeviceContext, float>::Compute(paddle::framework::ExecutionContext const&) const + 774 3 0x7fe8da8b6813p std::Function_handler<void (paddle::framework::ExecutionContext const&), paddle::framework::OpKernelRegistrarFunctor<paddle::platform::CPUPlace, false, 0ul, paddle::operators::LoadOpKernel<paddle::platform::CPUDeviceContext, float>, paddle::operators::LoadOpKernel<paddle::platform::CPUDeviceContext, double>, paddle::operators::LoadOpKernel<paddle::platform::CPUDeviceContext, int>, paddle::operators::LoadOpKernel<paddle::platform::CPUDeviceContext, signed char>, paddle::operators::LoadOpKernel<paddle::platform::CPUDeviceContext, long> >::operator()(char const*, char const*, int) const::{lambda(paddle::framework::ExecutionContext const&)#1 (closed)}>::M_invoke(std::Any_data const&, paddle::framework::ExecutionContext const&) + 35 4 0x7fe8db492da6p paddle::framework::OperatorWithKernel::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&, paddle::framework::RuntimeContext*) const + 662 5 0x7fe8db4938a4p paddle::framework::OperatorWithKernel::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 + 292 6 0x7fe8db491a7bp 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&) + 267 7 0x7fe8da44c23ep paddle::framework::Executor::RunPreparedContext(paddle::framework::ExecutorPrepareContext*, paddle::framework::Scope*, bool, bool, bool) + 158 8 0x7fe8da44f21fp paddle::framework::Executor::Run(paddle::framework::ProgramDesc const&, paddle::framework::Scope*, int, bool, bool, std::vector<std::string, std::allocatorstd::string > const&, bool) + 143 9 0x7fe8da2d74bep 10 0x7fe8da31620ep 11 0x5d8014p _PyMethodDef_RawFastCallKeywords + 548 12 0x5d9970p _PyObject_FastCallKeywords + 1744 13 0x54b0f1p 14 0x552197p _PyEval_EvalFrameDefault + 17495 15 0x54b9f2p _PyEval_EvalCodeWithName + 594 16 0x5d8c62p _PyFunction_FastCallKeywords + 1154 17 0x54af20p 18 0x54f0eep _PyEval_EvalFrameDefault + 5038 19 0x54b9f2p _PyEval_EvalCodeWithName + 594 20 0x5d8c62p _PyFunction_FastCallKeywords + 1154 21 0x54e3dcp _PyEval_EvalFrameDefault + 1692 22 0x54b9f2p _PyEval_EvalCodeWithName + 594 23 0x5d8c62p _PyFunction_FastCallKeywords + 1154 24 0x54af20p 25 0x54f0eep _PyEval_EvalFrameDefault + 5038 26 0x54b9f2p _PyEval_EvalCodeWithName + 594 27 0x5d8c62p _PyFunction_FastCallKeywords + 1154 28 0x54af20p 29 0x54f0eep _PyEval_EvalFrameDefault + 5038 30 0x54b9f2p _PyEval_EvalCodeWithName + 594 31 0x5d8c62p _PyFunction_FastCallKeywords + 1154 32 0x54af20p 33 0x552197p _PyEval_EvalFrameDefault + 17495 34 0x54b9f2p _PyEval_EvalCodeWithName + 594 35 0x54dd33p PyEval_EvalCode + 35 36 0x630f22p 37 0x630fd7p PyRun_FileExFlags + 151 38 0x631c3fp PyRun_SimpleFileExFlags + 383 39 0x65414ep 40 0x6544aep _Py_UnixMain + 46 41 0x7fe8f89eab6bp __libc_start_main + 235 42 0x5e04eap _start + 42

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/PaddleHub#65
渝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