NRCan / geo-deep-learning

Deep learning applied to georeferenced datasets
https://geo-deep-learning.readthedocs.io/en/latest/
MIT License
150 stars 50 forks source link

Align GDL's nomenclature to Torchgeo/Pytorch Lightning #300

Open remtav opened 2 years ago

remtav commented 2 years ago

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:

ymoisan commented 2 years ago

changing all modes to verbs 👍

remtav commented 2 years ago

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: