flip squeeze operator ordering

This commit is contained in:
Starbeamrainbowlabs 2022-10-21 15:38:57 +01:00
parent af26964c6a
commit bb0258f5cd
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -99,7 +99,7 @@ def do_png(args, ai, dataset, model_code):
rainfall, water = item
water_predict_batch = ai.embed(rainfall)
water = tf.unstack(tf.squeeze(water), axis=0)
water = tf.squeeze(tf.unstack(water, axis=0))
i_batch = 0
for water_predict in water_predict_batch: