mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
ai: channels_first → channels_last
This commit is contained in:
parent
f1d7973f22
commit
c2fcb3b954
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ def model_rainfallwater_contrastive(shape_rainfall, shape_water, batch_size=64,
|
|||
logger.info(shape_water)
|
||||
|
||||
# Shapes come from what rainfallwrangler sees them as, but we add an extra dimension when reading the .tfrecord file
|
||||
rainfall_width, rainfall_height, rainfall_channels = shape_rainfall # shape = [width, height, channels]
|
||||
rainfall_channels, rainfall_width, rainfall_height = shape_rainfall # shape = [channels, width, height]
|
||||
water_width, water_height = shape_water # shape = [width, height]
|
||||
water_channels = 1 # added in dataset → make_dataset → parse_item
|
||||
|
||||
|
|
Loading…
Reference in a new issue