From f210de91cbe2670fd482b09baa8ac04a830e4081 Mon Sep 17 00:00:00 2001 From: pangyyyyy Date: Mon, 27 Jun 2022 13:31:12 +0800 Subject: [PATCH] ignore kid annotations --- mmhuman3d/data/data_converters/agora.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mmhuman3d/data/data_converters/agora.py b/mmhuman3d/data/data_converters/agora.py index a23265ff..5d7dfe16 100644 --- a/mmhuman3d/data/data_converters/agora.py +++ b/mmhuman3d/data/data_converters/agora.py @@ -212,6 +212,10 @@ def convert_by_mode(self, dataset_path: str, out_path: str, occlusion = df.iloc[idx]['occlusion'][pidx] ethnicity = df.iloc[idx]['ethnicity'][pidx] + # skip kid since they use different model + if kid: + continue + # obtain keypoints keypoints2d = df.iloc[idx]['gt_joints_2d'][pidx] if self.res == (1280, 720):