mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
add bug comment
This commit is contained in:
parent
9edda1f397
commit
dbff15d4a9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue