diff --git a/paddle/fluid/operators/load_combine_op.h b/paddle/fluid/operators/load_combine_op.h index 8f620ba7d2f1c2797ad4fd76a16af9aeee9c2806..45a155af852baa36b0fe6631e5c427694736c89f 100644 --- a/paddle/fluid/operators/load_combine_op.h +++ b/paddle/fluid/operators/load_combine_op.h @@ -65,7 +65,10 @@ class LoadCombineOpKernel : public framework::OpKernel { auto *tensor = out_vars[i]->GetMutable(); // Error checking - PADDLE_ENFORCE(static_cast(*buffer), "Cannot read more"); + PADDLE_ENFORCE( + static_cast(*buffer), + "There is a problem with loading model parameters. " + "Please check whether the model file is complete or damaged."); // Get data from fin to tensor DeserializeFromStream(*buffer, tensor, dev_ctx);