The patch in dataset is meant to determine dataset crop or subset which is different than the model patch. However, the current geo_pos_embedding_patch and scale_feature_patch are calculated for spatial subset rather than model patch.
Another issue is that the model is data crop dependent. Therefore the crop size in training and inefrence should be the same. This issue should be fixed.
This two issues has been fixed in #92 as:
- fixing the calculation of geo embeding for each patch in dataset class
- removing the
SpatialTransfoemr
The patch in dataset is meant to determine dataset crop or subset which is different than the model patch. However, the current
geo_pos_embedding_patchandscale_feature_patchare calculated for spatial subset rather than model patch.Another issue is that the model is data crop dependent. Therefore the crop size in training and inefrence should be the same. This issue should be fixed.
This two issues has been fixed in #92 as:
SpatialTransfoemr