CosSimOp.cpp:54] Check failed: square_sum_x > 0 && square_sum_y > 0
Created by: JayEworld
报这个错,请问是为什么呢?该怎么解决呢
I0820 15:06:07.562870 12349 Util.cpp:166] commandline: --use_gpu=False
I0820 15:06:08.136152 12349 GradientMachine.cpp:85] Initing parameters..
I0820 15:06:12.327430 12349 GradientMachine.cpp:92] Init parameters done.
F0820 15:06:13.919644 12349 CosSimOp.cpp:54] Check failed: square_sum_x > 0 && square_sum_y > 0
*** Check failure stack trace: ***
@ 0x7ff500468e6d google::LogMessage::Fail()
@ 0x7ff50046c91c google::LogMessage::SendToLog()
@ 0x7ff500468993 google::LogMessage::Flush()
@ 0x7ff50046de2e google::LogMessageFatal::~LogMessageFatal()
@ 0x7ff5002e3380 paddle::CosSimForward<>()
@ 0x7ff5002e79e1 paddle::CosSimForwardFunc<>::calc()
@ 0x7ff500210a86 paddle::CosSimLayer::forward()
@ 0x7ff5002cf690 paddle::NeuralNetwork::forward()
@ 0x7ff5002ab883 paddle::GradientMachine::forwardBackward()
@ 0x7ff5004447ab GradientMachine::forwardBackward()
@ 0x7ff50013b38e _wrap_GradientMachine_forwardBackward
@ 0x4a9e33 PyEval_EvalFrameEx
@ 0x4ad70d PyEval_EvalCodeEx
@ 0x4aa88c PyEval_EvalFrameEx
@ 0x4ad70d PyEval_EvalCodeEx
@ 0x4aa88c PyEval_EvalFrameEx
@ 0x4ad70d PyEval_EvalCodeEx
@ 0x4aa88c PyEval_EvalFrameEx
@ 0x4ad70d PyEval_EvalCodeEx
@ 0x4aa88c PyEval_EvalFrameEx
@ 0x4ad70d PyEval_EvalCodeEx
@ 0x4ad842 PyEval_EvalCode
@ 0x4d64c2 PyRun_FileExFlags
@ 0x4d7839 PyRun_SimpleFileExFlags
@ 0x416edd Py_Main
@ 0x7ff5082f6bd5 __libc_start_main
@ 0x415f91 (unknown)
@ (nil) (unknown)
Aborted