mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
ds_eo: pass water to reshape
This commit is contained in:
parent
a01c49414f
commit
aa3831bc4f
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def parse_item(metadata, water_threshold=0.1, water_bins=2, heightmap=None, rain
|
||||||
)
|
)
|
||||||
rainfall = tf.reshape(rainfall, [-1, windowsize, windowsize, rainfall_channels])
|
rainfall = tf.reshape(rainfall, [-1, windowsize, windowsize, rainfall_channels])
|
||||||
|
|
||||||
water = tf.reshape([-1]) # we flatten because we cropped to the right shape above
|
water = tf.reshape(water, [-1]) # we flatten because we cropped to the right shape above
|
||||||
|
|
||||||
print("DEBUG DATASET_OUT:rainfall shape", rainfall.shape)
|
print("DEBUG DATASET_OUT:rainfall shape", rainfall.shape)
|
||||||
print("DEBUG DATASET_OUT:water shape", water.shape)
|
print("DEBUG DATASET_OUT:water shape", water.shape)
|
||||||
|
|
Loading…
Reference in a new issue