mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 09:13:01 +00:00
channels first
This commit is contained in:
parent
654eefd9ca
commit
3d614d105b
1 changed files with 3 additions and 2 deletions
|
@ -31,9 +31,10 @@ class LayerContrastiveEncoder(tf.keras.layers.Layer):
|
||||||
"""
|
"""
|
||||||
self.encoder = ResNet50V2(
|
self.encoder = ResNet50V2(
|
||||||
include_top=False,
|
include_top=False,
|
||||||
input_shape=(self.param_input_width, self.param_input_height, self.param_channels),
|
input_shape=(self.param_channels, self.param_input_width, self.param_input_height),
|
||||||
weights=None,
|
weights=None,
|
||||||
pooling=None
|
pooling=None,
|
||||||
|
data_format="channels_first"
|
||||||
)
|
)
|
||||||
"""Small sequential stack of layers that control the size of the outputted feature dimension.
|
"""Small sequential stack of layers that control the size of the outputted feature dimension.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue