def METHOD_NAME(self):
    class_config = ClassConfig(names=['bg', 'fg'], null_class='bg')
    image_uri = self.image_uri
    label_vector_uri = self.label_vector_uri
    # no labels
    ds = ClassificationSlidingWindowGeoDataset.from_uris(
        image_uri=image_uri, size=10, stride=10, padding=0)
    x, y = ds[0]
    torch.testing.assert_allclose(x * 255, torch.ones_like(x))
    self.assertTrue(np.isnan(y.numpy()))
    # vector labels
    ds = ClassificationSlidingWindowGeoDataset.from_uris(
        class_config=class_config,
        image_uri=image_uri,
        label_vector_uri=label_vector_uri,
        label_source_kw=dict(background_class_id=0),
        size=10,
        stride=10,
        padding=0)
    x, y = ds[0]
    torch.testing.assert_allclose(x * 255, torch.ones_like(x))
    torch.testing.assert_allclose(y, torch.ones_like(y))
    x, y = ds[3]
    torch.testing.assert_allclose(x * 255, torch.ones_like(x))
    torch.testing.assert_allclose(y, torch.zeros_like(y))