You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: