RCF with empirical mode #1685
-
Hello, excited to see the new release include updates to the RCF model that include the option to sample patches empirically from a dataset! I have the newest version installed and I am trying to implement now. One thing that has come up is the need to standardize image sizes in this implementation. I think it comes from this line which uses the first image in the dataset to define the height and width. Is this an intentional choice? I was hoping for an approach that did not include any image resizing. I am chopping up satellite imagery from a standard grid that is created in degrees, so depending on where I am in the world, the number of pixels in the height and width dimensions change a bit. Not 100% sure this is my problem, but resizing seemed to get things working. As an aside, no image resizing is required for the standard gaussian patches. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey Cullen, there isn't any resizing that happens with empirical sampling in RCF so I'm not entirely sure what you are referring to. There currently is the assumption that all images in the NonGeoDataset that you pass in are the same size (just for sampling patches to use as kernels) -- i.e. the line you linked to -- but this isn't necessary. |
Beta Was this translation helpful? Give feedback.
Hey Cullen, there isn't any resizing that happens with empirical sampling in RCF so I'm not entirely sure what you are referring to. There currently is the assumption that all images in the NonGeoDataset that you pass in are the same size (just for sampling patches to use as kernels) -- i.e. the line you linked to -- but this isn't necessary.