Traceback (most recent call last):


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1994, in __call__

return self.wsgi_app(environ, start_response)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1985, in wsgi_app

response = self.handle_exception(e)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 271, in error_router

return original_handler(e)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1540, in handle_exception

reraise(exc_type, exc_value, tb)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 268, in error_router

return self.handle_error(e)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 271, in error_router

return original_handler(e)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 268, in error_router

return self.handle_error(e)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 477, in wrapper

resp = resource(*args, **kwargs)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask/views.py", line 84, in view

return self.dispatch_request(*args, **kwargs)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 587, in dispatch_request

resp = meth(*args, **kwargs)


 "/Users/sshack/IdeaProjects/emotiondetection/serving/service.py", line 49, in put

(valance, arousal) = emotionInference.doEmotionInference(features, gmodel)


 "/Users/sshack/IdeaProjects/emotiondetection/serving/emotionInference.py", line 84, in doEmotionInference

preds = predmodel.predict([dataset, dataset], verbose=0)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/keras/models.py", line 724, in predict

return self.model.predict(x, batch_size=batch_size, verbose=verbose)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/keras/engine/training.py", line 1269, in predict

self._make_predict_function()


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/keras/engine/training.py", line 798, in _make_predict_function

**kwargs)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1961, in function

return Function(inputs, outputs, updates=updates)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1919, in __init__

with tf.control_dependencies(self.outputs):


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3651, in control_dependencies

return get_default_graph().control_dependencies(control_inputs)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3382, in control_dependencies

c = self.as_graph_element(c)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2473, in as_graph_element

return self._as_graph_element_locked(obj, allow_tensor, allow_operation)


 "/Users/sshack/IdeaProjects/emotiondetection/venv/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2552, in _as_graph_element_locked

raise ValueError("Tensor %s is not an element of this graph." % obj)
ValueError: Tensor Tensor("div:0", shape=(?, ?, 9), dtype=float32) is not an element of this graph.

Traceback (most recent call last):


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\tornado\ioloop.py", line 741, in _run_callback

ret = callback()


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\tornado\tcpserver.py", line 331, in <lambda>

gen.convert_yielded(future), lambda f: f.result()


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\comm\tcp.py", line 493, in _handle_stream

await self.comm_handler(comm)


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\core.py", line 501, in handle_comm

result = await result


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\scheduler.py", line 4718, in add_client

await self.handle_stream(comm=comm, extra={"client": client})


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\core.py", line 555, in handle_stream

msgs = await comm.read()


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\comm\tcp.py", line 218, in read

msg = await from_frames(


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\comm\utils.py", line 79, in from_frames

res = _from_frames()


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\comm\utils.py", line 62, in _from_frames

return protocol.loads(


 "C:\Users\Pier\Anaconda3\envs\trenove\lib\site-packages\distributed\protocol\core.py", line 107, in loads

return msgpack.loads(


 "msgpack/_unpacker.pyx", line 195, in msgpack._cmsgpack.unpackb
ValueError: 2535607755 exceeds max_bin_len(2147483647)
