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
There are 22 candidate implementations:
- Of which 20 did not match due to:
Overload of function 'getitem': File: : Line N/A.
With argument(s): '(array(float32, 1d, C), UniTuple(int64 x 2))':
No match.
- Of which 1 did not match due to:
Overload in function 'GetItemBuffer.generic': File: numba/core/typing/arraydecl.py: Line 211.
With argument(s): '(array(float32, 1d, C), UniTuple(int64 x 2))':
Rejected as the implementation raised a specific error:
NumbaTypeError: cannot index array(float32, 1d, C) with 2 indices: UniTuple(int64 x 2)
raised from /usr/local/lib/python3.10/dist-packages/numba/core/typing/arraydecl.py:133
- Of which 1 did not match due to:
Overload in function 'GetItemBuffer.generic': File: numba/core/typing/arraydecl.py: Line 211.
With argument(s): '(array(float32, 1d, C), Tuple(int64, Literalint))':
Rejected as the implementation raised a specific error:
NumbaTypeError: cannot index array(float32, 1d, C) with 2 indices: Tuple(int64, Literalint)
raised from /usr/local/lib/python3.10/dist-packages/numba/core/typing/arraydecl.py:133
During: typing of intrinsic-call at /workspace/InsightFace-REST/if_rest/core/model_zoo/detectors/scrfd.py (96)
File "if_rest/core/model_zoo/detectors/scrfd.py", line 96:
def generate_proposals(score_blob, bbox_blob, kpss_blob, stride, anchors, threshold, score_out, bbox_out, kpss_out,
for ix in range(0, anchors.shape[0]):
if score_blob[ix, 0] > threshold:
^
错误详情: Failed in nopython mode pipeline (step: nopython frontend)
No implementation of function Function() found for signature:
There are 22 candidate implementations:
- Of which 20 did not match due to:
Overload of function 'getitem': File: : Line N/A.
With argument(s): '(array(float32, 1d, C), UniTuple(int64 x 2))':
No match.
- Of which 1 did not match due to:
Overload in function 'GetItemBuffer.generic': File: numba/core/typing/arraydecl.py: Line 211.
With argument(s): '(array(float32, 1d, C), UniTuple(int64 x 2))':
Rejected as the implementation raised a specific error:
NumbaTypeError: cannot index array(float32, 1d, C) with 2 indices: UniTuple(int64 x 2)
raised from /usr/local/lib/python3.10/dist-packages/numba/core/typing/arraydecl.py:133
- Of which 1 did not match due to:
Overload in function 'GetItemBuffer.generic': File: numba/core/typing/arraydecl.py: Line 211.
With argument(s): '(array(float32, 1d, C), Tuple(int64, Literalint))':
Rejected as the implementation raised a specific error:
NumbaTypeError: cannot index array(float32, 1d, C) with 2 indices: Tuple(int64, Literalint)
raised from /usr/local/lib/python3.10/dist-packages/numba/core/typing/arraydecl.py:133
During: typing of intrinsic-call at /workspace/InsightFace-REST/if_rest/core/model_zoo/detectors/scrfd.py (96)
File "if_rest/core/model_zoo/detectors/scrfd.py", line 96:
def generate_proposals(score_blob, bbox_blob, kpss_blob, stride, anchors, threshold, score_out, bbox_out, kpss_out,
for ix in range(0, anchors.shape[0]):
if score_blob[ix, 0] > threshold:
^
During: Pass nopython_type_inference