Refactored the keypoint postprocessing logics to reduce duplicated codes and
added a new operating mode for single-instance prediction. 1) Refactored the _postprocess_keypoints_for_class_and_image function such that it can be reused by single/multi class keypoint tasks. 2) Removed the "mod" operator to make the model compatible with WASM. PiperOrigin-RevId: 345468250
Showing
Please register or sign in to comment