def test_value_error_on_predict_keypoints(self):
    with self.assertRaises(ValueError):
        box_predictor.MaskRCNNBoxPredictor(is_training=False, num_classes=5, fc_hyperparams=self._build_arg_scope_with_hyperparams(), use_dropout=False, dropout_keep_prob=0.5, box_code_size=4, predict_keypoints=True)
def test_value_error_on_predict_keypoints(self):
    with self.assertRaises(ValueError):
        box_predictor.MaskRCNNBoxPredictor(is_training=False, num_classes=5, fc_hyperparams=self._build_arg_scope_with_hyperparams(), use_dropout=False, dropout_keep_prob=0.5, box_code_size=4, predict_keypoints=True)