MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / _is_split_info_valid

Method _is_split_info_valid

PATH/core/augmentation.py:837–842  ·  view source on GitHub ↗
(self, head, neck, waist, foot)

Source from the content-addressed store, hash-verified

835 format(correction, self.height, self.width, self.aug_type, self.crop_prob))
836
837 def _is_split_info_valid(self, head, neck, waist, foot):
838 if not head < 0.3:
839 return False
840 if not (head < waist or neck < waist or waist < foot):
841 return False
842 return True
843
844 def _correct_split_info(self, head, neck, waist, foot, version=0):
845 standard_head = self.template_split_info[0]

Callers 1

_parse_split_infoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected