mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
model_contrastive: make water encoder significantly shallower
This commit is contained in:
parent
a6b07a49cb
commit
f2e2ca1484
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ kernel_initial = tf.keras.initializers.TruncatedNormal(stddev=0.2)
|
|||
bias_initial = tf.keras.initializers.Constant(value=0)
|
||||
|
||||
depths_dims = dict(
|
||||
convnext_shallow= (dict(depths=[1, 3, 1], dims=[66, 132, 192])),
|
||||
convnext_xtiny = (dict(depths=[3, 3, 6, 3], dims=[66, 132, 264, 528])),
|
||||
# architectures from: https://github.com/facebookresearch/ConvNeXt
|
||||
# A ConvNet for the 2020s: https://arxiv.org/abs/2201.03545
|
||||
|
|
|
@ -44,7 +44,7 @@ def model_rainfallwater_contrastive(metadata, shape_water, batch_size=64, featur
|
|||
input_height=water_height,
|
||||
input_channels=water_channels,
|
||||
feature_dim=feature_dim,
|
||||
arch_name="convnext_xtiny",
|
||||
arch_name="convnext_shallow",
|
||||
summary_file=summary_file
|
||||
)(input_water)
|
||||
|
||||
|
|
Loading…
Reference in a new issue