Traceback (most recent call last):


 "run_exp.py", line 340, in <module>

data_set_inp, data_set_ref = convert_numpy_to_torch(data_set_dict, save_gpumem, use_cuda)


 "/home/sysadmin/pytorch-kaldi/core.py", line 46, in convert_numpy_to_torch

data_set_inp=torch.from_numpy(data_set_dict['input']).float()
TypeError: expected np.ndarray (got NoneType)

Traceback (most recent call last):


 "/persist/conda/envs/bl/bin/fairseq-generate", line 11, in <module>

load_entry_point('fairseq', 'console_scripts', 'fairseq-generate')()


 "~/fairseq/fairseq_cli/generate.py", line 228, in cli_main

main(args)


 "~/fairseq/fairseq_cli/generate.py", line 86, in main

generator = task.build_generator(args)


 "~/fairseq/fairseq/tasks/translation_lev.py", line 134, in build_generator

adaptive=not getattr(args, 'iter_decode_force_max_iter', False))
TypeError: __init__() missing 1 required positional argument: 'tgt_dict'
