This commit is contained in:
Starbeamrainbowlabs 2022-11-24 17:57:48 +00:00
parent 54a841efe9
commit 6c09d5254d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -113,6 +113,7 @@ def do_png(args, ai, dataset, model_params):
water_predict = tf.math.argmax(water_predict, axis=-1)
# [ width, height, bins ]
water_actual = tf.squeeze(water[i_batch])
# [ width, height ]
water_actual = tf.math.argmax(water_actual, axis=-1)
segmentation_plot(