mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
ai: how did I miss that
This commit is contained in:
parent
b2f1ba29bb
commit
8a86728b54
1 changed files with 3 additions and 2 deletions
|
@ -16,19 +16,20 @@ def model_rainfallwater_contrastive(shape_rainfall, shape_water, batch_size=64,
|
||||||
water_channels = 1 # added in dataset → make_dataset → parse_item
|
water_channels = 1 # added in dataset → make_dataset → parse_item
|
||||||
|
|
||||||
input_rainfall = tf.keras.layers.Input(
|
input_rainfall = tf.keras.layers.Input(
|
||||||
shape=shape_rainfall
|
shape=(rainfall_width, rainfall_height, rainfall_channels)
|
||||||
)
|
)
|
||||||
input_water = tf.keras.layers.Input(
|
input_water = tf.keras.layers.Input(
|
||||||
shape=(water_width, water_height, water_channels)
|
shape=(water_width, water_height, water_channels)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
print("MAKE ENCODER rainfall")
|
||||||
rainfall = LayerContrastiveEncoder(
|
rainfall = LayerContrastiveEncoder(
|
||||||
input_width=rainfall_width,
|
input_width=rainfall_width,
|
||||||
input_height=rainfall_height,
|
input_height=rainfall_height,
|
||||||
channels=rainfall_channels,
|
channels=rainfall_channels,
|
||||||
feature_dim=feature_dim
|
feature_dim=feature_dim
|
||||||
)(input_rainfall)
|
)(input_rainfall)
|
||||||
|
print("MAKE ENCODER water")
|
||||||
water = LayerContrastiveEncoder(
|
water = LayerContrastiveEncoder(
|
||||||
input_width=water_width,
|
input_width=water_width,
|
||||||
input_height=water_height,
|
input_height=water_height,
|
||||||
|
|
Loading…
Reference in a new issue