97eval_table = [0, 0, 0, 0, 4, 4, 6, 7, 4, 9, 10, 10, 12, 13, 14, 15, 16]
254 ret_annotations = copy.deepcopy(annotations)
255 for i, anno
in enumerate(annotations):
256 action_id = anno[
'action_id'][
'action']
257 new_action_id = cvt_action_info[action_id][2]
259 if action_id == 11
or action_id == 12:
260 move_id = anno[
'action_id'][
'foot']
261 new_action_id = cvt_labelmap_v21_foot_to_simple_ver[move_id][2]
262 elif new_action_id
is None:
263 pose_id = anno[
'action_id'][
'pose']
264 new_action_id = cvt_pose_info[pose_id][2]
266 if anno[
'truncation'] > 2
or anno[
'occlusion'] > 2:
269 ret_annotations[i][
'action_id'][
'action'] = new_action_id
271 return ret_annotations