raster-vision icon indicating copy to clipboard operation
raster-vision copied to clipboard

Allow `neg_ratio` to be None in `ObjectDetectionGeoDataWindowConfig`

Open AdeelH opened this issue 2 years ago • 0 comments

🚀 Feature

See the following discussion on Gitter: https://gitter.im/azavea/raster-vision?at=6298bff6ef00bd1dc60fc7ee

ObjectDetectionGeoDataWindowConfig should allow neg_ratio to be None since ObjectDetectionRandomWindowGeoDataset allows it.

Motivation

It's a feature that already exists. This will allow users to actually make use of it.

Pitch

ObjectDetectionGeoDataWindowConfig.neg_ratio's type hint will need to be changed to Optional[float].

Alternatives

N/A

Additional context

N/A

AdeelH avatar Jun 29 '22 16:06 AdeelH