Traceback (most recent call last):


 "examples/train_model.py", line 17, in <module>

TrainLoop(opt).train()


 "d:\parlai\parlai\scripts\train_model.py", line 367, in __init__

self.world = create_task(opt, self.agent)


 "d:\parlai\parlai\core\worlds.py", line 1385, in create_task

world = HogwildWorld(opt, world)


 "d:\parlai\parlai\core\worlds.py", line 1085, in __init__

t.start()


 "D:\Anaconda\lib\multiprocessing\process.py", line 105, in start

self._popen = self._Popen(self)


 "D:\Anaconda\lib\multiprocessing\context.py", line 223, in _Popen

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


 "D:\Anaconda\lib\multiprocessing\context.py", line 322, in _Popen

return Popen(process_obj)


 "D:\Anaconda\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__

reduction.dump(process_obj, to_child)


 "D:\Anaconda\lib\multiprocessing\reduction.py", line 60, in dump

ForkingPickler(file, protocol).dump(obj)
TypeError: can't pickle _thread.lock objects

Traceback (most recent call last):


 "./slice_test2.py", line 52, in <module>

model2 = model_from_json(f.read(), custom_objects={'tf':tf})


 "build/bdist.linux-x86_64/egg/keras/models.py", line 346, in model_from_json


 "build/bdist.linux-x86_64/egg/keras/layers/__init__.py", line 55, in deserialize


 "build/bdist.linux-x86_64/egg/keras/utils/generic_utils.py", line 140, in deserialize_keras_object


 "build/bdist.linux-x86_64/egg/keras/engine/topology.py", line 2490, in from_config


 "build/bdist.linux-x86_64/egg/keras/engine/topology.py", line 2476, in process_layer


 "build/bdist.linux-x86_64/egg/keras/layers/__init__.py", line 55, in deserialize


 "build/bdist.linux-x86_64/egg/keras/utils/generic_utils.py", line 140, in deserialize_keras_object


 "build/bdist.linux-x86_64/egg/keras/layers/core.py", line 699, in from_config


 "build/bdist.linux-x86_64/egg/keras/utils/generic_utils.py", line 209, in func_load
TypeError: arg 5 (closure) must be None or tuple
