def METHOD_NAME(self, sizes, strides):
    with self.assertRaises(ValueError):
        cv_layers.AnchorGenerator(
            bounding_box_format="xyxy",
            sizes=sizes,
            strides=strides,
            aspect_ratios=[3 / 4, 1, 4 / 3],
            scales=[0.5, 1.0, 1.5],
        )