add bug comment

This commit is contained in:
Starbeamrainbowlabs 2022-09-01 19:05:50 +01:00
parent 9edda1f397
commit dbff15d4a9
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -25,7 +25,7 @@ def parse_item(metadata):
rainfall = tf.transpose(rainfall, [1, 2, 0])
# [width, height] → [width, height, channels]
water = tf.expand_dims(water, axis=-1)
# BUG: AttributeError: 'dict' object has no attribute 'waterdepth
rainfall = tf.image.resize(rainfall, tf.constant(metadata.waterdepth))
# TODO: The shape of the resulting tensor can't be statically determined, so we need to reshape here