From a572737fb6af77710fc869803df06fc963603aea Mon Sep 17 00:00:00 2001 From: ioracion Date: Tue, 25 Jan 2022 14:35:43 +0800 Subject: [PATCH] Update infer_cls.py --- tools/infer_cls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/infer_cls.py b/tools/infer_cls.py index 7522e439..ab6a4912 100755 --- a/tools/infer_cls.py +++ b/tools/infer_cls.py @@ -73,8 +73,8 @@ def main(): images = paddle.to_tensor(images) preds = model(images) post_result = post_process_class(preds) - for rec_reuslt in post_result: - logger.info('\t result: {}'.format(rec_reuslt)) + for rec_result in post_result: + logger.info('\t result: {}'.format(rec_result)) logger.info("success!") -- GitLab