Replies: 1 comment 3 replies
-
We have not used python inference like this. My guess is that different threads have to use different instances of |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a slightly modified version of caffe2 model https://github.com/facebookresearch/detectron2/blob/master/detectron2/export/caffe2_inference.py#L17 as flask rest api. It works of single request, but when multiple request tries to do inference then some of inferences fails with the error
RuntimeError: [enforce fail at ..\caffe2\python\pybind_state.cc:210] ws->HasBlob(name). Can't find blob: bbox_nms
I am loading only 1 instance of the model.
Below is the modified caffe2 model class. And inference fails at
TIA
Beta Was this translation helpful? Give feedback.
All reactions