YOLO_Google-Cloud icon indicating copy to clipboard operation
YOLO_Google-Cloud copied to clipboard

Error occured sending or receiving data on ML client.

Open YagnikThanki opened this issue 5 years ago • 0 comments

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)

YagnikThanki avatar Aug 14 '19 11:08 YagnikThanki