PatchKerasConfig

class plugins.train.model._base.update.PatchKerasConfig(model_path: str)

Bases: object

This class exists to patch breaking changes when moving from older keras 3.x models to newer versions

Parameters:

model_path (str) – Full path to the keras model to be patched for the current version

Methods Summary

__call__()

Update the keras configuration saved in a keras model file and save over the original model

Methods Documentation

__call__() None

Update the keras configuration saved in a keras model file and save over the original model

Return type:

None

__call__() None

Update the keras configuration saved in a keras model file and save over the original model

Return type:

None