Traceback (most recent call last):


 "c:\python\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "c:\python\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\Python\Scripts\pyidm.exe\__main__.py", line 7, in <module>

:copyright: (c) 2019-2020 by Mahmoud Elshahat.


 "c:\python\lib\site-packages\pyidm\pyIDM.py", line 108, in main

main_window.run()


 "c:\python\lib\site-packages\pyidm\gui.py", line 454, in run

if self.selected_d.status == Status.downloading:
AttributeError: 'NoneType' object has no attribute 'status'

Traceback (most recent call last):


 "main.py", line 333, in <module>

trainer.iter()


 "/home/zhangruiqing01/MT/lrl/UnsupervisedMT/NMT/src/trainer.py", line 721, in iter

self.print_stats()


 "/home/zhangruiqing01/MT/lrl/UnsupervisedMT/NMT/src/trainer.py", line 749, in print_stats

for k, l in mean_loss if len(self.stats[l]) > 0])


 "/home/zhangruiqing01/MT/lrl/UnsupervisedMT/NMT/src/trainer.py", line 749, in <listcomp>

for k, l in mean_loss if len(self.stats[l]) > 0])


 "/home/zhangruiqing01/tools/anaconda3/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 2909, in mean

out=out, **kwargs)


 "/home/zhangruiqing01/tools/anaconda3/lib/python3.6/site-packages/numpy/core/_methods.py", line 80, in _mean

ret = ret.dtype.type(ret / rcount)
AttributeError: 'torch.dtype' object has no attribute 'type'
