Module for AVC ModelLoader
Classes
ModelLoader
Bases: ABC
Callable that loads models
Functions
__call__
abstractmethod
__call__(model_path, file_system=None)
Loads the model at the given path
Source code in niceml/mlcomponents/modelloader/modelloader.py
| @abstractmethod
def __call__(
self,
model_path: str,
file_system: Optional[AbstractFileSystem] = None,
) -> Any:
"""Loads the model at the given path"""
|