Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • book
  • Issue
  • #356

B
book
  • 项目概览

PaddlePaddle / book

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

官网paddlepaddle/book:latest在运行07.label_semantic_roles和paddlepaddle/book:0.10.0在运行08.machine_translation有点小问题

Created by: chengduoZH

在paddlepaddle/book:0.10.0中运行08.machine_translation会出现如下问题:

root@2326a7bdee57:/book/08.machine_translation# python train.py
I0801 03:01:01.564342    15 Util.cpp:166] commandline:  --use_gpu=False --trainer_count=1
[INFO 2017-08-01 03:01:01,658 networks.py:1482] The input order is [source_language_word, target_language_word, target_language_next_word]
[INFO 2017-08-01 03:01:01,659 networks.py:1488] The output order is [__classification_cost_0__]
[INFO 2017-08-01 03:01:01,692 networks.py:1482] The input order is [source_language_word, target_language_word, target_language_next_word]
[INFO 2017-08-01 03:01:01,692 networks.py:1488] The output order is [__classification_cost_0__]
I0801 03:01:02.328541    15 GradientMachine.cpp:86] Initing parameters..
I0801 03:01:05.297921    15 GradientMachine.cpp:93] Init parameters done.

Pass 0, Batch 0, Cost 195.874988, {'classification_error_evaluator': 1.0}
.........
Pass 0, Batch 10, Cost 204.007812, {'classification_error_evaluator': 0.9292929172515869}
.........
Pass 0, Batch 20, Cost 257.487524, {'classification_error_evaluator': 0.9279999732971191}
.........
Pass 0, Batch 30, Cost 300.606274, {'classification_error_evaluator': 0.9041095972061157}
.........
Pass 0, Batch 40, Cost 216.137231, {'classification_error_evaluator': 0.9523809552192688}
.......*** Aborted at 1501556672 (unix time) try "date -d @1501556672" if you are using GNU date ***
PC: @                0x0 (unknown)
*** SIGFPE (@0x7fc30ddebe86) received by PID 15 (TID 0x7fc305d14700) from PID 232701574; stack trace: ***
    @     0x7fc30f0c0330 (unknown)
    @     0x7fc30ddebe86 paddle::AssignCpuEvaluate<>()
    @     0x7fc30dded0ac paddle::AssignEvaluate<>()
    @     0x7fc30dde7d5b paddle::adamApply()
    @     0x7fc30dde54a6 paddle::AdamParameterOptimizer::update()
    @     0x7fc30ddcfc17 paddle::SgdThreadUpdater::threadUpdateDense()
    @     0x7fc30ddd0d9f _ZNSt17_Function_handlerIFvimEZN6paddle16SgdThreadUpdater11finishBatchEfEUlimE_E9_M_invokeERKSt9_Any_dataim
    @     0x7fc30c7554ec _ZNSt6thread5_ImplISt12_Bind_simpleIFZN6paddle14SyncThreadPool5startEvEUliE_mEEE6_M_runEv
    @     0x7fc30b715a60 (unknown)
    @     0x7fc30f0b8184 start_thread
    @     0x7fc30ede5bed clone
    @                0x0 (unknown)
Floating point exception

在paddlepaddle/book:latest中运行07.label_semantic_roles会出现如下问题:

root@209789cb8eed:/book/07.label_semantic_roles# python train.py
I0801 04:40:38.478021   139 Util.cpp:166] commandline:  --use_gpu=False --trainer_count=1
I0801 04:40:38.577181   139 GradientMachine.cpp:85] Initing parameters..
I0801 04:40:38.765612   139 GradientMachine.cpp:92] Init parameters done.
Pass 0, Batch 0, Cost 121.618921, {'__sum_evaluator_0__': 1.0}

Test with Pass 0, Batch 0, {'__sum_evaluator_0__': 0.5385039448738098}
Pass 0, Batch 100, Cost 61.798883, {'__sum_evaluator_0__': 0.6978852152824402}
Pass 0, Batch 200, Cost 68.420306, {'__sum_evaluator_0__': 0.5071942210197449}
Pass 0, Batch 300, Cost 89.819623, {'__sum_evaluator_0__': 0.8310810923576355}
Pass 0, Batch 400, Cost 75.320734, {'__sum_evaluator_0__': 0.5387097001075745}
Pass 0, Batch 500, Cost 60.577905, {'__sum_evaluator_0__': 0.748275876045227}

Test with Pass 0, {'__sum_evaluator_0__': 0.7465202808380127}
F0801 04:42:45.812535   139 Matrix.cpp:2540] Check failed: index[i] < (int)tableSize (39052 vs. 3162)
*** Check failure stack trace: ***
    @     0x7fa82a2bc78d  google::LogMessage::Fail()
    @     0x7fa82a2bead8  google::LogMessage::SendToLog()
    @     0x7fa82a2bc27b  google::LogMessage::Flush()
    @     0x7fa82a2bf9ae  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fa82a1e3dbd  paddle::CpuMatrix::selectRowsImp<>()
    @     0x7fa82a1e12be  paddle::CpuMatrix::selectRows()
    @     0x7fa829ee41a9  paddle::TableProjection::forward()
    @     0x7fa829f4ba14  paddle::MixedLayer::forward()
    @     0x7fa82a025fd1  paddle::NeuralNetwork::forward()
    @     0x7fa829e8a1c6  _wrap_GradientMachine_forward
    @           0x4c468a  PyEval_EvalFrameEx
    @           0x4c9d8f  PyEval_EvalFrameEx
    @           0x4c2765  PyEval_EvalCodeEx
    @           0x4ca8d1  PyEval_EvalFrameEx
    @           0x4dddca  (unknown)
    @           0x4c4c6f  PyEval_EvalFrameEx
    @           0x4dddca  (unknown)
    @           0x4c4c6f  PyEval_EvalFrameEx
    @           0x4c2765  PyEval_EvalCodeEx
    @           0x4ca099  PyEval_EvalFrameEx
    @           0x4c2765  PyEval_EvalCodeEx
    @           0x4ca099  PyEval_EvalFrameEx
    @           0x4c2765  PyEval_EvalCodeEx
    @           0x4ca8d1  PyEval_EvalFrameEx
    @           0x4c2765  PyEval_EvalCodeEx
    @           0x4c2509  PyEval_EvalCode
    @           0x4f1def  (unknown)
    @           0x4ec652  PyRun_FileExFlags
    @           0x4eae31  PyRun_SimpleFileExFlags
    @           0x49e14a  Py_Main
    @     0x7fa840e1b830  __libc_start_main
    @           0x49d9d9  _start
Aborted
指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/book#356
渝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