diff --git a/PaddleCV/human_pose_estimation/lib/mpii_reader.py b/PaddleCV/human_pose_estimation/lib/mpii_reader.py index 41ea25ed252155913ca52523c3e78c46199a34bb..5f2620760a8ce8ebc33d21ad8abeea4ed59dd696 100644 --- a/PaddleCV/human_pose_estimation/lib/mpii_reader.py +++ b/PaddleCV/human_pose_estimation/lib/mpii_reader.py @@ -183,7 +183,7 @@ def _reader_creator(root, image_set, shuffle=False, is_train=False): test_mode=False, imagenum=0) else: - fold = 'test' + fold = os.path.join(cfg.DATAROOT, cfg.IMAGEDIR, 'test') for img_name in os.listdir(fold): yield dict(image=os.path.join(fold, img_name), filename=img_name)