nvflare.app_opt.pt.file_model_locator module¶
- class PTFileModelLocator(pt_persistor_id: str)[source]¶
Bases:
ModelLocator
The ModelLocator’s job is to find and locate the models inventory saved during training.
- Parameters:
pt_persistor_id (str) – ModelPersistor component ID
- get_model_names(fl_ctx: FLContext) List[str] [source]¶
Returns the list of model names that should be included from server in cross site validation.add().
- Parameters:
fl_ctx (FLContext) – FL Context object.
- Returns:
List of model names.
- Return type:
List[str]