Traceback (most recent call last):


 "/home/xgx/miniconda3/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap

fn(i, *args)


 "/home/xgx/fairseq/fairseq_cli/train.py", line 286, in distributed_main

main(args, init_distributed=True)


 "/home/xgx/fairseq/fairseq_cli/train.py", line 63, in main

criterion = task.build_criterion(args)


 "/home/xgx/fairseq/fairseq/tasks/fairseq_task.py", line 226, in build_criterion

return criterions.build_criterion(args, self)


 "/home/xgx/fairseq/fairseq/registry.py", line 41, in build_x

return builder(args, *extra_args, **extra_kwargs)


 "/home/xgx/fairseq/fairseq/criterions/fairseq_criterion.py", line 56, in build_criterion

'{}.build_criterion'.format(cls.__name__)
NotImplementedError: Unable to infer Criterion arguments, please implement WSCCriterion.build_criterion

Traceback (most recent call last):


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 40, in run

module.run()


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\cx_Freeze\initscripts\Console.py", line 23, in run

exec(code, {'__name__': '__main__'})


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

d = dill.dumps(product)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 265, in dumps

dump(obj, file, protocol, byref, fmode, recurse, **kwds)#, strictio)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 259, in dump

Pickler(file, protocol, **_kwds).dump(obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 445, in dump

StockPickler.dump(self, obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 437, in dump

self.save(obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 1413, in save_function

obj.__dict__, fkwdefaults), obj=obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 638, in save_reduce

save(args)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 789, in save_tuple

save(element)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 912, in save_module_dict

StockPickler.save_dict(pickler, obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 859, in save_dict

self._batch_setitems(obj.items())


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 885, in _batch_setitems

save(v)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 1295, in save_module

state=_main_dict)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 662, in save_reduce

save(state)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 912, in save_module_dict

StockPickler.save_dict(pickler, obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 859, in save_dict

self._batch_setitems(obj.items())


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 885, in _batch_setitems

save(v)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 549, in save

self.save_reduce(obj=obj, *rv)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 662, in save_reduce

save(state)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\site-packages\dill\_dill.py", line 912, in save_module_dict

StockPickler.save_dict(pickler, obj)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 859, in save_dict

self._batch_setitems(obj.items())


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 885, in _batch_setitems

save(v)


 "C:\Users\jabez\AppData\Local\Continuum\miniconda3\envs\FreezeTest\lib\pickle.py", line 524, in save

rv = reduce(self.proto)
TypeError: can't pickle zipimport.zipimporter objects
