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

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

Open
XavierWonderful opened this issue Dec 19, 2022 · 0 comments
Open

Comments

@XavierWonderful
Copy link

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)

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