Skip to content

How max_windows affect dataset generation? #1520

Answered by lewfish
ammarsdc asked this question in Q&A
Discussion options

You must be logged in to vote

The max_windows argument is used when method is set to random as described in these docs. This controls the maximum number of randomly sampled windows per scene. This sets the maximum number of windows as opposed to an exact number of windows since a random sampler is used to get each window with a maximum number of tries (set by max_sample_attempts), and the sampler may fail to find a window. This may be surprising, but if the AOI is very small and/or has a complex shape, it may be difficult to randomly sample windows that fit within that AOI. The default value is 10,000. I'm not sure where you are getting the value of 32 from. Could you point me to the source?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@lewfish
Comment options

@ammarsdc
Comment options

@ammarsdc
Comment options

@lewfish
Comment options

@ammarsdc
Comment options

Answer selected by ammarsdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants