From 6e7e5f8905d0482dd39124dcd941828f524f680d Mon Sep 17 00:00:00 2001 From: chengmengli06 <31561586+chengmengli06@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:49:57 +0800 Subject: [PATCH 1/2] [feat] update version to 0.6.4 --- easy_rec/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_rec/version.py b/easy_rec/version.py index f70f1bfba..08d341768 100644 --- a/easy_rec/version.py +++ b/easy_rec/version.py @@ -1,3 +1,3 @@ # -*- encoding:utf-8 -*- # Copyright (c) Alibaba, Inc. and its affiliates. -__version__ = '0.6.3' +__version__ = '0.6.4' From dd0a0f9b57c5341884cd85cfa54609373a919add Mon Sep 17 00:00:00 2001 From: chengmengli06 Date: Mon, 10 Jul 2023 16:26:10 +0800 Subject: [PATCH 2/2] correct log msg --- easy_rec/python/inference/predictor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easy_rec/python/inference/predictor.py b/easy_rec/python/inference/predictor.py index dba53f967..340523bfd 100644 --- a/easy_rec/python/inference/predictor.py +++ b/easy_rec/python/inference/predictor.py @@ -493,9 +493,9 @@ def _parse_value(all_vals): else: assert self._all_input_names, 'must set fg_json_path when use fg input' assert fg_input_size == len(self._all_input_names), ( - 'The size of features in fg_json != the size of fg input. ' - 'The size of features in fg_json is: %s; The size of fg input is: %s' - % (fg_input_size, len(self._all_input_names))) + 'The number of features defined in fg_json != the size of fg input. ' + 'The number of features defined in fg_json is: %d; The size of fg input is: %d' + % (len(self._all_input_names), fg_input_size)) for i, k in enumerate(self._all_input_names): split_index.append(k) split_vals[k] = []