mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-12-22 22:25:01 +00:00
mono: fix loading checkpoint
This commit is contained in:
parent
dba6cbffcd
commit
838ff56a3b
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,7 @@ from .helpers import make_callbacks
|
|||
from .helpers import summarywriter
|
||||
from .components.LayerConvNeXtGamma import LayerConvNeXtGamma
|
||||
from .components.LayerStack2Image import LayerStack2Image
|
||||
from .components.LossCrossentropy import LossCrossentropy
|
||||
from .helpers.summarywriter import summarywriter
|
||||
|
||||
class RainfallWaterMono(object):
|
||||
|
@ -71,7 +72,8 @@ class RainfallWaterMono(object):
|
|||
|
||||
self.model = tf.keras.models.load_model(filepath_checkpoint, custom_objects={
|
||||
"LayerConvNeXtGamma": LayerConvNeXtGamma,
|
||||
"LayerStack2Image": LayerStack2Image
|
||||
"LayerStack2Image": LayerStack2Image,
|
||||
"LossCrossentropy": LossCrossentropy
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue