train_predict/jsonl: don't argmax

I'm interested inthe raw values
This commit is contained in:
Starbeamrainbowlabs 2022-10-26 17:21:19 +01:00
parent 74f2cdb900
commit 33391eaf16
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -152,7 +152,7 @@ def do_jsonl(args, ai, dataset, model_params):
i_batch = 0
for water_predict in water_predict_batch:
# [ width, height, softmax_probabilities ] → [ batch, width, height ]
water_predict = tf.math.argmax(water_predict, axis=-1)
# water_predict = tf.math.argmax(water_predict, axis=-1)
# [ width, height ]
water_actual = tf.squeeze(water_actual_batch[i_batch])