def METHOD_NAME(self):
    # test bottomup training
    dataset = self.build_coco_wholebody_face_dataset(data_mode='bottomup')
    # filter one invalid instance due to face_valid = false
    self.assertEqual(len(dataset), 3)
    self.check_data_info_keys(dataset[0], data_mode='bottomup')
    # test bottomup testing
    dataset = self.build_coco_wholebody_face_dataset(
        data_mode='bottomup', test_mode=True)
    # all images are used for evaluation
    self.assertEqual(len(dataset), 4)
    self.check_data_info_keys(dataset[0], data_mode='bottomup')