Traceback (most recent call last):


 "D:\Python\Anaconda3\envs\NMT\Scripts\fairseq-train-script.py", line 33, in <module>

sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())


 "d:\fairseq\fairseq\fairseq_cli\train.py", line 333, in cli_main

distributed_utils.call_main(args, main)


 "d:\fairseq\fairseq\fairseq\distributed_utils.py", line 189, in call_main

main(args, **kwargs)


 "d:\fairseq\fairseq\fairseq_cli\train.py", line 109, in main

extra_state, epoch_itr = checkpoint_utils.load_checkpoint(args, trainer)


 "d:\fairseq\fairseq\fairseq\checkpoint_utils.py", line 187, in load_checkpoint

epoch_itr = trainer.get_train_iterator(


 "d:\fairseq\fairseq\fairseq\trainer.py", line 335, in get_train_iterator

return self.task.get_batch_iterator(


 "d:\fairseq\fairseq\fairseq\tasks\fairseq_task.py", line 214, in get_batch_iterator

batch_sampler = dataset.batch_by_size(


 "d:\fairseq\fairseq\fairseq\data\fairseq_dataset.py", line 118, in batch_by_size

return data_utils.batch_by_size(


 "d:\fairseq\fairseq\fairseq\data\data_utils.py", line 256, in batch_by_size

return batch_by_size_fast(


 "fairseq\data\data_utils_fast.pyx", line 27, in fairseq.data.data_utils_fast.batch_by_size_fast

cpdef list batch_by_size_fast(
ValueError: Buffer dtype mismatch, expected 'DTYPE_t' but got 'long'

Traceback (most recent call last):


 "kickthemout.py", line 754, in <module>

defaultInterface = getDefaultInterface()


 "kickthemout.py", line 154, in getDefaultInterface

network, netmask, _, interface, address = max(iface_routes, key=lambda item:item[1])
ValueError: too many values to unpack (expected 5)
