Traceback (most recent call last):


 "thumt/scripts/checkpoint_averaging.py", line 121, in <module>

tf.app.run()


 "/home/felix/miniconda3/envs/py37-trans/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 125, in run

_sys.exit(main(argv))


 "thumt/scripts/checkpoint_averaging.py", line 103, in main

var_values.iteritems()):
AttributeError: 'dict' object has no attribute 'iteritems'
Traceback (most recent call last):


 "train.py", line 267, in <module>

initial_weights=initial_weights)


 "train.py", line 239, in train

for batch_idx, (batch_xs, batch_ys) in batch_iter:


 "train.py", line 103, in wrapped

proc.start()


 "C:\ProgramData\Anaconda3\lib\multiprocessing\process.py", line 105, in start

self._popen = self._Popen(self)


 "C:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 212, in _Popen

return _default_context.get_context().Process._Popen(process_obj)


 "C:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 313, in _Popen

return Popen(process_obj)


 "C:\ProgramData\Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 66, in __init__

reduction.dump(process_obj, to_child)


 "C:\ProgramData\Anaconda3\lib\multiprocessing\reduction.py", line 59, in dump

ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'mpgen.<locals>.main'
