ShannonAI / service-streamer

Boosting your Web Services of Deep Learning Applications.
Apache License 2.0
1.22k stars 187 forks source link

基于paddle训练出的模型基于steamer进行处理报错 #96

Open XavierWonderful opened 1 year ago

XavierWonderful commented 1 year ago

Exception in thread thread_worker: Traceback (most recent call last): File "C:\Users\w00610182\AppData\Local\Continuum\anaconda3\lib\threading.py", line 917, in _bootstrap_inner self.run() File "C:\Users\w00610182\AppData\Local\Continuum\anaconda3\lib\threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "C:\Users\w00610182\AppData\Local\Continuum\anaconda3\lib\site-packages\service_streamer\service_streamer.py", line 154, in run_forever handled = self._run_once() File "C:\Users\w00610182\AppData\Local\Continuum\anaconda3\lib\site-packages\service_streamer\service_streamer.py", line 189, in _run_once self._send_response(client_id, task_id, request_id, model_outputs[i]) File "C:\Users\w00610182\AppData\Local\Continuum\anaconda3\lib\site-packages\paddle\fluid\dygraph\varbase_patch_methods.py", line 753, in getitem return self._getitem_index_not_tensor(item) IndexError: (OutOfRange) The starting index 1 of slice is out of bounds in tensor 0-th axis, it shound be in the range of [-1, 1). (at C:\home\workspace\Paddle\paddle/fluid/pybind/slice_utils.h:209)