load method returns list
The current implementation of the load
class method in NNInterface
returns the audio representation nested within a list of length 1. Is there any good reason for this? As a consequence, when calling the load method, one always must do
model, audio_repr = load(model_path, load_audio_repr=True)
audio_repr = audio_repr[0]
to get the audio representation dictionary.
This seems unnecessary ...