diff --git a/melgan-swpark/sample/LJ002-0320.mel b/melgan-swpark/sample/LJ002-0320.mel new file mode 100644 index 0000000..685ed5f Binary files /dev/null and b/melgan-swpark/sample/LJ002-0320.mel differ diff --git a/melgan-swpark/wrap_melgan_model.py b/melgan-swpark/wrap_melgan_model.py index 8499f85..674da8a 100755 --- a/melgan-swpark/wrap_melgan_model.py +++ b/melgan-swpark/wrap_melgan_model.py @@ -30,7 +30,7 @@ output_filename = 'melgan_trump_txlearn_2020-05-30_steno_chkpt9800.torchjit' trace_model = True if trace_model: print('Tracing model and saving as: {}'.format(output_filename)) - mel_file = '/home/bt/dev/voder/data/mels/LJ002-0320.mel' + mel_file = './sample/LJ002-0320.mel' mel = torch.load(mel_file, map_location=torch.device('cpu')) # NB: Getting `Tracing failed sanity checks! Graphs differed across invocations!` traced_script_module = torch.jit.trace(melgan_model, mel, check_trace=True)