Replies: 1 comment 2 replies
-
Have you checked https://stackoverflow.com/questions/55065419/typingerror-failed-in-nopython-mode-pipeline-step-nopython-frontend? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to run the code:
lir = cropper.estimate_largest_interior_rectangle(mask)
However, I encountered an error:
------------------------
TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(uint32, 2d, A) and array(uint32, 1d, A) for 's', defined at C:\Users\user\anaconda3\lib\site-packages\largestinteriorrectangle\lir_basis.py (99)
File "C:\Users\user\anaconda3\lib\site-packages\largestinteriorrectangle\lir_basis.py", line 99:
def span_map(grid, h_adjacency, v_adjacency):
[1] During: typing of assignment at C:\Users\user\anaconda3\lib\site-packages\largestinteriorrectangle\lir_basis.py (100)
File "C:\Users\user\anaconda3\lib\site-packages\largestinteriorrectangle\lir_basis.py", line 100:
def span_map(grid, h_adjacency, v_adjacency):
Also, when I try to give another valuable name, like 's0', to replace the front 's' in
s = biggest_span(s)
, it still shows the error:------------------------
TypeError: Failed in nopython mode pipeline (step: convert to parfors)
'NoneType' object is not iterable
------------------------
I don't have any idea about this so far. Could you giva me some help?
Beta Was this translation helpful? Give feedback.
All reactions