Prediction with py_paddle and 'use_gpu=1'
Created by: CrossLee1
I use the py_paddle for prediction.
If I use this command swig_paddle.initPaddle("--use_gpu=0")
, everything works find.
But when I change --use_gpu=0
to --use_gpu=1
, error occurs.
I1103 13:27:47.719333 4879 Util.cpp:155] commandline: --use_gpu=1 I1103 13:27:50.586648 4879 Util.cpp:130] Calling runInitFunctions I1103 13:27:50.587080 4879 Util.cpp:143] Call runInitFunctions done. [WARNING 2016-11-03 13:27:50,601 default_decorators.py:40] please use keyword arguments in paddle config. I1103 13:27:50.623359 4879 GradientMachine.cpp:123] Loading parameters from ./models/pass-00007/ F1103 13:27:51.092999 4879 Matrix.cpp:475] Not supported
* Check failure stack trace: *
@ 0x7fc2ad19d6b8 google::LogMessage::Fail() @ 0x7fc2ad19d614 google::LogMessage::SendToLog() @ 0x7fc2ad19cf98 google::LogMessage::Flush() @ 0x7fc2ad1a003f google::LogMessageFatal::~LogMessageFatal() @ 0x7fc2acf92c97 paddle::GpuMatrix::mul() @ 0x7fc2acf1907a paddle::FullMatrixProjection::forward() @ 0x7fc2acf07766 paddle::MixedLayer::forward() @ 0x7fc2ace72800 paddle::NeuralNetwork::forward() @ 0x7fc2ace07cf9 _wrap_GradientMachine_forward @ 0x7fc2b49645f3 PyEval_EvalFrameEx @ 0x7fc2b4966685 PyEval_EvalCodeEx @ 0x7fc2b4962f97 PyEval_EvalFrameEx @ 0x7fc2b4966685 PyEval_EvalCodeEx @ 0x7fc2b4962f97 PyEval_EvalFrameEx @ 0x7fc2b49630c8 PyEval_EvalFrameEx @ 0x7fc2b4966685 PyEval_EvalCodeEx @ 0x7fc2b49667bc PyEval_EvalCode @ 0x7fc2b4990039 PyRun_FileExFlags @ 0x7fc2b49914a1 PyRun_SimpleFileExFlags @ 0x7fc2b49a7fa1 Py_Main @ 0x7fc2b3b9bbd5 __libc_start_main @ 0x4008d9 (unknown) @ (nil) (unknown) AbortedWhat is the problem? Thanks~