diff --git a/core/general-server/op/general_text_infer_op.cpp b/core/general-server/op/general_text_infer_op.cpp index 79e671047f3bdd026a1a33cfbc056e5775ed6a68..7bc43545ebbf3c206e6d2495af284f8c284b896c 100644 --- a/core/general-server/op/general_text_infer_op.cpp +++ b/core/general-server/op/general_text_infer_op.cpp @@ -41,7 +41,10 @@ using baidu::paddle_serving::predictor::PaddleGeneralModelConfig; int GeneralTextInferOp::inference() { const GeneralTextReaderOutput *reader_out = - get_depend_argument("general_text_reader_op"); + get_depend_argument(pre_name()); + + VLOG(2) << "Going to get previous node name: " << pre_name(); + if (!reader_out) { LOG(ERROR) << "Failed mutable depended argument, op:" << "general_text_reader_op";