Skip to content

ObjectDetectionGeoDataConfig leaves window_opts empty when created with scene_dataset #1772

Discussion options

You must be logged in to vote

I was forgetting to set my chip and window options, the following fixed it for me:

def configure_training(self):
        chip_options = ObjectDetectionChipOptions(**self.kw.get("chip_kw", {}))
        chip_sz = self.kw["window_kw"].get("chip_sz", 450)
        window_opts = ObjectDetectionGeoDataWindowConfig(
            method=GeoDataWindowMethod.random,
            size=chip_sz,
            size_lims=(chip_sz, chip_sz + 1),
            max_windows=self.kw["window_kw"].get("max_windows", None),
            clip=True,
            neg_ratio=chip_options.neg_ratio,
            ioa_thresh=chip_options.ioa_thresh
        )
        data_cfg = ObjectDetectionGeoDataConfig(
            class_names=

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aerotractjack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant