modeva.ModelZoo.add_model#
- ModelZoo.add_model(model, name: str = None, replace: bool = False)#
Add a new model together with its name to models dictionary.
- Parameters:
name (str) – The name of model.
model (object) – The model object.
replace (bool) – Whether to replace old model when new model with same name