geo-deep-learning
geo-deep-learning copied to clipboard
Align GDL's nomenclature to Torchgeo/Pytorch Lightning
Some examples:
- sample -> chip/patch
- Use "aoi" and "tile" in documentation:
- aoi: Synonym for region of interest (ROI). A particular spatial area to focus on.
- tile: A single image file taken by a remote sensor like a satellite.
GDL's mode should also be revised. I'd suggest changing all modes to be verbs at the infinitive form:
- sampling -> tile
- train
- inference -> predict
- postprocess
- validate
- ...
Since some confusion exists in Torchgeo's glossary, we've agreed to the following:
- Use "tiling" when possible rather than "tile" (as infinitive verb)
- Use "patches", not "tiles", "chips" or "samples"
changing all modes to verbs 👍
For training, our SegmentationDataset returns a dict with "sat_img" and "map_img" as keys.
Torchgeo uses "image" and "mask" as equivalents to these keys. We should stick to this new standard, also because some torchgeo utilities that could become useful to us expect these keys specifically:
Examples of torchgeo datasets using these keys:
A torchgeo utility expecting these keys specifically: