mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
dlr: variable name typo
This commit is contained in:
parent
b6ca885fe2
commit
8d932757b5
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ def plot_predictions(filepath, input_items, colormap, model):
|
||||||
i = 0
|
i = 0
|
||||||
for input_pair in input_items:
|
for input_pair in input_items:
|
||||||
prediction_mask = infer(image_tensor=input_pair[0], model=model)
|
prediction_mask = infer(image_tensor=input_pair[0], model=model)
|
||||||
prediction_mask_argmax = tf.argmax(predictions, axis=2)
|
prediction_mask_argmax = tf.argmax(prediction_mask, axis=2)
|
||||||
# label_colourmap = decode_segmentation_masks(input_pair[1], colormap, 2)
|
# label_colourmap = decode_segmentation_masks(input_pair[1], colormap, 2)
|
||||||
prediction_colormap = decode_segmentation_masks(prediction_mask_argmax, colormap, 2)
|
prediction_colormap = decode_segmentation_masks(prediction_mask_argmax, colormap, 2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue