- class NPModelLocator(model_dir='models', model_name='server.npy')¶
The ModelLocator’s job is to find the models to be included for cross site evaluation located on server. This NPModelLocator finds and extracts “server” model that is saved during training.
model_dir (str) – Directory to look for models in. Defaults to “model”
model_name (str) –
- SERVER_MODEL_NAME = 'server'¶
- get_model_names(fl_ctx: FLContext) List[str] ¶
Returns the list of model names that should be included from server in cross site validation.add()
fl_ctx (FLContext) – FL Context object.
List of model names.
- Return type: