Contraster: add gamma layer to load_model

This commit is contained in:
Starbeamrainbowlabs 2022-09-27 15:53:52 +01:00
parent 9e9852d066
commit 3cf99587e4
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -72,6 +72,7 @@ class RainfallWaterContraster(object):
self.model_predict = tf.keras.models.load_model(filepath_checkpoint, custom_objects={
"LayerContrastiveEncoder": LayerContrastiveEncoder,
"LayerConvNeXtGamma": LayerConvNeXtGamma,
"LayerCheeseMultipleOut": LayerCheeseMultipleOut
})