vraven · class
ModelBundle
ModelBundle(root: 'Path', manifest: 'Path', model: 'Path', input: 'Path', labels: 'Path | None', model_format: 'str' = 'state_dict', factory: 'str | None' = None, factory_kwargs: 'dict[str, Any]' = <factory>, state_dict_key: 'str | None' = None, strip_prefix: 'str | None' = None, device: 'str' = 'cpu', defaults: 'dict[str, Any]' = <factory>, class_names: 'tuple[str, ...]' = ()) -> NoneResolved files and defaults from one contained model-bundle directory.
Usage
from vraven import ModelBundle
value = ModelBundle(...)
Methods
summary(self) -> 'dict[str, Any]'
Public method.
Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.