Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occured sending or receiving data on ML client. #5

Open
YagnikThanki opened this issue Aug 14, 2019 · 0 comments
Open

Error occured sending or receiving data on ML client. #5

YagnikThanki opened this issue Aug 14, 2019 · 0 comments

Comments

@YagnikThanki
Copy link

I am able to run both script but once i open url in browser it's break due to some json loads error.
What i have found through troubleshooting. there is issue with MODEL_DATA.py in updateData function. I checked variable it doesn't contain dictionary.
Here is log of mlserverclient.py
Loading weights from /home/gb-pc08/Project/aiortc/examples/server/YOLO_Google-Cloud/mlserver/model/yolov3-tiny.weights...Done! Starting YOLO Predictor Thread Starting ZeroMQ DataHandler DATA Connected! MESSAGE Connected! Exception in thread ZeroMQ DataHandler: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/home/gb-pc08/Project/aiortc/examples/server/YOLO_Google-Cloud/mlserver/ZeroMQ.py", line 68, in run self.update(self.name) File "/home/gb-pc08/Project/aiortc/examples/server/YOLO_Google-Cloud/mlserver/ZeroMQ.py", line 76, in update self.moduleData.updateData(data) File "/home/gb-pc08/Project/aiortc/examples/server/YOLO_Google-Cloud/mlserver/MODULE_DATA.py", line 43, in updateData data = json.loads(message) File "/usr/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant