nvflare.app_common.np.np_model_locator module¶
- class NPModelLocator(model_dir='models', model_name='server.npy')[source]¶
Bases:
ModelLocatorThe 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.
- Parameters:
model_dir (str) – Directory to look for models in. Defaults to “model”
model_name (str) –
- SERVER_MODEL_NAME = 'server'¶