From 0140e93bbdbb2b3847bd7b01e52afc26b39d851c Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 12 Jan 2023 18:00:16 +0000 Subject: [PATCH] dlr: trying a thing --- aimodel/src/deeplabv3_plus_test_rainfall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/src/deeplabv3_plus_test_rainfall.py b/aimodel/src/deeplabv3_plus_test_rainfall.py index 2297215..3a2eaba 100755 --- a/aimodel/src/deeplabv3_plus_test_rainfall.py +++ b/aimodel/src/deeplabv3_plus_test_rainfall.py @@ -247,7 +247,7 @@ def get_overlay(image, coloured_mask): def plot_samples_matplotlib(filepath, display_list, figsize=(5, 3)): for i in range(len(display_list)): - plt.subplot(nrows=1, ncols=len(display_list), index=i) + plt.subplot(1, len(display_list), i) if display_list[i].shape[-1] == 3: plt.imshow(tf.keras.preprocessing.image.array_to_img(display_list[i])) else: