Traceback (most recent call last):


 "/Users/charleschou/anaconda/envs/ML-dev/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call

return fn(*args)


 "/Users/charleschou/anaconda/envs/ML-dev/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn

options, feed_dict, fetch_list, target_list, run_metadata)


 "/Users/charleschou/anaconda/envs/ML-dev/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun

run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [2,3] vs. [2]

Traceback (most recent call last):


 "example.py", line 53, in <module>

uvicorn.run(app.__call__, reload=True)


 "/Users/tomchristie/GitHub/encode/typesystem/venv/lib/python3.6/site-packages/uvicorn/main.py", line 255, in run

supervisor.run(server.run, sockets=[socket])


 "/Users/tomchristie/GitHub/encode/typesystem/venv/lib/python3.6/site-packages/uvicorn/supervisors/statreload.py", line 34, in run

process.start()


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py", line 105, in start

self._popen = self._Popen(self)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/context.py", line 284, in _Popen

return Popen(process_obj)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__

super().__init__(process_obj)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_fork.py", line 20, in __init__

self._launch(process_obj)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch

reduction.dump(process_obj, fp)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/reduction.py", line 60, in dump

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