From 64d646bb130c93124b9bcc677a3300cce62cbed8 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 24 Nov 2022 19:05:35 +0000 Subject: [PATCH] rainfall_stats: formatting --- aimodel/src/subcommands/rainfall_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/src/subcommands/rainfall_stats.py b/aimodel/src/subcommands/rainfall_stats.py index ffa5fe5..647422e 100755 --- a/aimodel/src/subcommands/rainfall_stats.py +++ b/aimodel/src/subcommands/rainfall_stats.py @@ -61,7 +61,7 @@ def run(args): batch_stddev = tf.math.reduce_std(rainfall_flat) batch_max = tf.math.reduce_max(rainfall_flat) - print("BATCH", "mean", batch_mean, "stddev", batch_stddev, "max", batch_max) + print("BATCH mean\t", batch_mean.numpy().list()[0], "stddev\t", batch_stddev.numpy().list()[0], "max\t", batch_max.numpy().list()[0]) calc_mean.append(batch_mean) calc_stddev.append(batch_stddev)