versions()¶
- audmodel.versions(uid, *, cache_root=None)[source]¶
Available model versions.
- Parameters
uid (
str
) – unique model ID or short IDcache_root (
Optional
[str
]) – cache folder where models and headers are stored. If not setaudmodel.default_cache_root()
is used
- Return type
- Returns
list with versions
- Raises
audbackend.BackendError – if connection to repository on backend cannot be established
RuntimeError – if model does not exist
Examples
>>> versions("d4e9c65b") ['1.0.0', '2.0.0', '3.0.0', '4.0.0'] >>> versions("d4e9c65b-2.0.0") ['1.0.0', '2.0.0', '3.0.0', '4.0.0']