mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-29 04:13:01 +00:00
train_predict/jsonl: don't argmax
I'm interested inthe raw values
This commit is contained in:
parent
74f2cdb900
commit
33391eaf16
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ def do_jsonl(args, ai, dataset, model_params):
|
||||||
i_batch = 0
|
i_batch = 0
|
||||||
for water_predict in water_predict_batch:
|
for water_predict in water_predict_batch:
|
||||||
# [ width, height, softmax_probabilities ] → [ batch, width, height ]
|
# [ 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 ]
|
# [ width, height ]
|
||||||
water_actual = tf.squeeze(water_actual_batch[i_batch])
|
water_actual = tf.squeeze(water_actual_batch[i_batch])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue