08.machine_translation Floating point exception
Created by: livc
➜ Desktop docker run -it paddlepaddle/book:0.10.0 /bin/bash
Unable to find image 'paddlepaddle/book:0.10.0' locally
0.10.0: Pulling from paddlepaddle/book
8f229c550c2e: Pull complete
8e1fb71e8df6: Pull complete
f75a34586856: Pull complete
8744e322b832: Pull complete
d5165bfce78f: Pull complete
96c07ffe1bce: Pull complete
8454a8fa3f3d: Pull complete
8a5eee6421bf: Pull complete
332ddaa4df2c: Pull complete
976505a3f051: Pull complete
8c490e01dc3c: Pull complete
b13e5ab6455b: Pull complete
c7bed60a14bb: Pull complete
Digest: sha256:d7655b911f8a498b5e2934e1480303bb9e8f5cba30d844c7b0de1c2c47eda5cc
Status: Downloaded newer image for paddlepaddle/book:0.10.0
root@091c857438ee:/# cd book/08.machine_translation/
root@091c857438ee:/book/08.machine_translation# ls
image index.en.html index.html README.en.ipynb README.en.md README.ipynb README.md train.py
root@091c857438ee:/book/08.machine_translation# python train.py
I0616 04:10:47.900486 15 Util.cpp:166] commandline: --use_gpu=False --trainer_count=1
[INFO 2017-06-16 04:10:47,984 networks.py:1482] The input order is [source_language_word, target_language_word, target_language_next_word]
[INFO 2017-06-16 04:10:47,985 networks.py:1488] The output order is [__classification_cost_0__]
[INFO 2017-06-16 04:10:48,020 networks.py:1482] The input order is [source_language_word, target_language_word, target_language_next_word]
[INFO 2017-06-16 04:10:48,023 networks.py:1488] The output order is [__classification_cost_0__]
I0616 04:10:48.366200 15 GradientMachine.cpp:86] Initing parameters..
I0616 04:10:51.700908 15 GradientMachine.cpp:93] Init parameters done.
Pass 0, Batch 0, Cost 278.337134, {'classification_error_evaluator': 1.0}
.........
Pass 0, Batch 10, Cost 255.534497, {'classification_error_evaluator': 0.9435483813285828}
.........
Pass 0, Batch 20, Cost 232.708838, {'classification_error_evaluator': 0.9026548862457275}
.........
Pass 0, Batch 30, Cost 302.591309, {'classification_error_evaluator': 0.918367326259613}
.........
Pass 0, Batch 40, Cost 246.787573, {'classification_error_evaluator': 0.9083333611488342}
.........
Pass 0, Batch 50, Cost 303.848633, {'classification_error_evaluator': 0.9459459185600281}
*** Aborted at 1497586531 (unix time) try "date -d @1497586531" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGFPE (@0x7ff3976c7e86) received by PID 15 (TID 0x7ff38f5f0700) from PID 18446744071955054214; stack trace: ***
@ 0x7ff39899c330 (unknown)
@ 0x7ff3976c7e86 paddle::AssignCpuEvaluate<>()
@ 0x7ff3976c90ac paddle::AssignEvaluate<>()
@ 0x7ff3976c3d5b paddle::adamApply()
@ 0x7ff3976c14a6 paddle::AdamParameterOptimizer::update()
@ 0x7ff3976abc17 paddle::SgdThreadUpdater::threadUpdateDense()
@ 0x7ff3976acd9f _ZNSt17_Function_handlerIFvimEZN6paddle16SgdThreadUpdater11finishBatchEfEUlimE_E9_M_invokeERKSt9_Any_dataim
@ 0x7ff3960314ec _ZNSt6thread5_ImplISt12_Bind_simpleIFZN6paddle14SyncThreadPool5startEvEUliE_mEEE6_M_runEv
@ 0x7ff394ff1a60 (unknown)
@ 0x7ff398994184 start_thread
@ 0x7ff3986c1bed clone
@ 0x0 (unknown)
Floating point exception
root@091c857438ee:/book/08.machine_translation#