On init, use a query to define a list of images - fetch their annotations too. For simplicity at first, it might make sense to start with a KWCOCOArchive ID.
[ ] implement load_sample(): See load_sample in CocoSampler docstring for input/output. Can ignore the annotations output for now.
[ ] Implement the classes attribute of RGDSampler to return KWCOCO category tree
Likely requires us to implement regions
[ ] Might also need to implement get_image, get_annotation, and get_category?
The following is a roadmap to putting together a demo where ndsampler uses ResonantGeoData to provide subsampled images.
For now, I will focus on a minimally working solution such that the core functionality of
ndsampler
can be used with RGD.I will continually update this post as I work on these features
Roadmap:
BaseSampler
-> new classRGDSampler
KWCOCOArchive
ID.load_sample()
: Seeload_sample
inCocoSampler
docstring for input/output. Can ignore the annotations output for now.classes
attribute ofRGDSampler
to return KWCOCO category treeregions
get_image
,get_annotation
, andget_category
?ndsampler
readmeOther related tasks: