From 3d327f6c8b3d5a941c2b9e047daf02ed2f3a4f10 Mon Sep 17 00:00:00 2001 From: qingqing01 Date: Sat, 26 Jan 2019 00:06:34 +0800 Subject: [PATCH] Fix py3 supporting. (#1704) --- fluid/PaddleCV/face_detection/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluid/PaddleCV/face_detection/reader.py b/fluid/PaddleCV/face_detection/reader.py index c4d2b91b..4839ba5c 100644 --- a/fluid/PaddleCV/face_detection/reader.py +++ b/fluid/PaddleCV/face_detection/reader.py @@ -200,7 +200,7 @@ def load_file_list(input_txt): else: file_dict[num_class].append(line_txt) - return file_dict.values() + return list(file_dict.values()) def expand_bboxes(bboxes, -- GitLab