nnsvs.pretrained.retrieve_pretrained_model

nnsvs.pretrained.retrieve_pretrained_model(name)[source]

Retrieve pretrained model from local cache or download from GitHub.

Parameters:

name (str) – Name of pretrained model.

Returns:

Path to the pretrained model.

Return type:

str

Raises:

ValueError – If the pretrained model is not found.