feldberlin / wavenet

An unconditioned Wavenet implementation with fast generation.
3 stars 0 forks source link

Loading configs from wandb yields incorrect parameters #5

Closed purzelrakete closed 3 years ago

purzelrakete commented 3 years ago

What

When loading configs from wandb, the resulting HParams objects are not correct. This can be seen when attempting to load the model checkpoint with the given parameters (failure), or when comparing the object with the info panel for the run on wandb.

How to Reproduce

Load the configs:

from wavenet import utils, model, train

run_path = 'purzelrakete/feldberlin-wavenet/21ei0tqc'
p, ptrain = utils.load_wandb_cfg(run_path)
p, ptrain = model.HParams(**p), train.HParams(**ptrain)

Validate against the run on wandb

Acceptance Criteria