Traceback (most recent call last):


 "translate.py", line 35, in <module>

main(opt)


 "translate.py", line 20, in main

attn_debug=opt.attn_debug


 "/root/c3_workspace/onmt/translate/translator.py", line 208, in translate

batch_data = self.translate_batch(batch, data, attn_debug, fast=self.fast)


 "/root/c3_workspace/onmt/translate/translator.py", line 335, in translate_batch

return self._translate_batch(batch, data)


 "/root/c3_workspace/onmt/translate/translator.py", line 658, in _translate_batch

if data_type == 'text' and self.copy_attn else None)


 "/root/c3_workspace/onmt/translate/translator.py", line 727, in _score_target

memory_lengths=src_lengths, src_map=src_map)


 "/root/c3_workspace/onmt/translate/translator.py", line 390, in _decode_and_generate

scores = self.model.generator(dec_out.view(-1, dec_out.size(2)),
AttributeError: 'EnsembleDecoderOutput' object has no attribute 'view'

Traceback (most recent call last):


 "D:\Anaconda3\envs\ML_WDH\lib\multiprocessing\pool.py", line 119, in worker

result = (True, func(*args, **kwds))


 "E:\...\WaveRNN-master\preprocess.py", line 23, in process_wav

m, x = convert_file(path)


 "E:\...\WaveRNN-master\preprocess.py", line 30, in convert_file

y = load_wav(path)


 "E:\...\WaveRNN-master\utils\dsp.py", line 19, in load_wav

return librosa.load(path, sr=hp.sample_rate)[0]


 "E:\...\WaveRNN-master\utils\__init__.py", line 53, in __getattr__

raise AttributeError("HParams not configured yet. Call self.configure()")
AttributeError: HParams not configured yet. Call self.configure()
