Open remtav opened 2 years ago
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:
Torchgeo's glossary
Some examples:
GDL's mode should also be revised. I'd suggest changing all modes to be verbs at the infinitive form:
Since some confusion exists in Torchgeo's glossary, we've agreed to the following: