diff --git a/paddle/fluid/operators/load_combine_op.h b/paddle/fluid/operators/load_combine_op.h index 8f620ba7d2f1c2797ad4fd76a16af9aeee9c2806..9d00c1efb29f997215170e45db4b87d52a585ed3 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);