SemanticSegmentationConfig's predict_options vs chip_options? #2194
-
Could you please help me understand the difference between the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To add some more context, here's what my
And here's what it looks like after. My code runs, but I'm wondering what the affect is of having both the
|
Beta Was this translation helpful? Give feedback.
-
Similarly, It might make sense, in the future, to let |
Beta Was this translation helpful? Give feedback.
chip_options
applies to thechip
stage (which extracts chips into image files before thetrain
stage) of the pipeline. If you are usingGeoDataset
s (viaGeoDataConfig
), then you are not using thechip
stage, sochip_options
has no effect. See the effect of thenochip
param in this example.Similarly,
predict_options
applies to thepredict
stage. It currently does not allow specifyingpadding
andpad_direction
; however, as of #2190 (not released yet), the padding value used by default is calculated such that pixels around the edges of the scene do not get left out of the prediction, even ifcrop_sz
is specified.It might make sense, in the future, to let
PredictOptions
take aWindowSamplin…