meta()¶
- audmodel.meta(uid, *, cache_root=None, verbose=False)[source]¶
Meta information of model.
- Parameters
uid (
str
) – unique model ID or short ID for latest versioncache_root (
Optional
[str
]) – cache folder where models and headers are stored. If not setaudmodel.default_cache_root()
is usedverbose (
bool
) – show debug messages
- Return type
- Returns
dictionary with meta fields
- Raises
audbackend.BackendError – if connection to repository on backend cannot be established
RuntimeError – if model does not exist
Examples
>>> d = meta("d4e9c65b-3.0.0") >>> print(yaml.dump(d)) data: emodb: version: 1.2.0 feature: melspec: win_dur: 32ms hop_dur: 10ms num_fft: 512 mel_bins: 64 model: cnn10: learning-rate: 0.01 optimizer: adam