From 9673a2950ecc0f4cf2d4447a2f00e83d1cc88ad2 Mon Sep 17 00:00:00 2001 From: zhengya01 Date: Tue, 5 Mar 2019 07:26:37 +0000 Subject: [PATCH] fix logger --- fluid/PaddleRec/tagspace/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluid/PaddleRec/tagspace/train.py b/fluid/PaddleRec/tagspace/train.py index 419bb1c4..65df9f31 100644 --- a/fluid/PaddleRec/tagspace/train.py +++ b/fluid/PaddleRec/tagspace/train.py @@ -136,7 +136,7 @@ def train(): try: ce_acc = ce_info[-2] except: - logger.error("ce info error") + print("ce info error") epoch_idx = args.pass_num device = get_device(args) if args.use_cuda: -- GitLab