Traceback (most recent call last):


 ".../PySyft/syft/workers/websocket_server.py", line 107, in _producer_handler

response = self._recv_msg(message)


 ".../PySyft/syft/workers/websocket_server.py", line 118, in _recv_msg

return self.recv_msg(message)


 ".../PySyft/syft/workers/base.py", line 257, in recv_msg

bin_response = sy.serde.serialize(response)


 ".../PySyft/syft/serde/serde.py", line 216, in serialize

binary = msgpack.dumps(simple_objects)


 ".../anaconda3/envs/PySyft/lib/python3.6/site-packages/msgpack/__init__.py", line 46, in packb

return Packer(**kwargs).pack(o)


 "msgpack/_packer.pyx", line 282, in msgpack._cmsgpack.Packer.pack


 "msgpack/_packer.pyx", line 288, in msgpack._cmsgpack.Packer.pack


 "msgpack/_packer.pyx", line 285, in msgpack._cmsgpack.Packer.pack


 "msgpack/_packer.pyx", line 261, in msgpack._cmsgpack.Packer._pack


 "msgpack/_packer.pyx", line 261, in msgpack._cmsgpack.Packer._pack


 "msgpack/_packer.pyx", line 279, in msgpack._cmsgpack.Packer._pack
TypeError: can not serialize 'Tensor' object

Traceback (most recent call last):
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/facade/smac_facade.py", line 400, in optimize

incumbent = self.solver.run()
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/optimizer/smbo.py", line 196, in run

output_directory=self.scenario.output_dir_for_this_run)
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/optimizer/pSMAC.py", line 83, in write

run_history.save_json(temporary_filename, save_external=False)
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/runhistory/runhistory.py", line 333, in save_json

"configs": configs}, fp, cls=EnumEncoder)
 
 "/home/wenjian/anaconda3/lib/python3.6/json/__init__.py", line 179, in dump

for chunk in iterable:
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 430, in _iterencode

yield from _iterencode_dict(o, _current_indent_level)
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 437, in _iterencode

o = _default(o)
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/runhistory/runhistory.py", line 38, in default

return json.JSONEncoder.default(self, obj)
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'function' is not JSON serializable
