Skip to content

Commit d39e103

Browse files
manugvSergeCroise
andauthored
Update openeo_udp/parceldelineation/udf_segmentation.py
Co-authored-by: Serge Croisé <SergeCroise@users.noreply.github.com>
1 parent ab7f1d8 commit d39e103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo_udp/parceldelineation/udf_segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def process_window_onnx(ndvi_stack: xr.DataArray, patch_size=128):
123123
# make 4 predictions per model
124124
for i in range(predictions_per_model):
125125
# initialize a predicter array
126-
random.seed(i) # without seed we will have random number leading to non-reproducable results.
126+
random.seed(i) # without seed we will have a random number leading to non-reproducible results.
127127
_idx = random.choices(_range, k=no_rand_images) # Random selection of 3 images for input
128128
# re-shape the input data for ML input
129129
input_data = ndvi_stack.isel(t=_idx).data.reshape(1, patch_size * patch_size, no_rand_images)

0 commit comments

Comments
 (0)