Open Alexisxty opened 2 weeks ago
tif files are already supported, so you shouldn't have to do anything different than a normal image dataset.
There is already an example datasets with .tif images (RSIPAC_CD). So for example: opencd/datasets/rsipac_cd.py
If you have your own .tif image dataset you'll have to:
Where the only specific thing you need is to define the img_suffix='.tif' in your dataset class
img_suffix='.tif'
tif files are already supported, so you shouldn't have to do anything different than a normal image dataset.
There is already an example datasets with .tif images (RSIPAC_CD). So for example: opencd/datasets/rsipac_cd.py
If you have your own .tif image dataset you'll have to:
Where the only specific thing you need is to define the
img_suffix='.tif'
in your dataset class