-
Notifications
You must be signed in to change notification settings - Fork 12
Indices Error #2
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
Comments
Were you able to solve this? |
I also have the same error. |
write as x[cnt,:] = newGraph.obsVal[int(newGraph.ObsIdx[i][ind]), :] |
Were you able to solve this? |
I also have the same error. Have you solved it? |
Traceback (most recent call last):
File "main.py", line 110, in
graphList[i] = triangulateGraph(graphList[i],imageSize)
File "/content/drive/SFM/utils/graph.py", line 84, in triangulateGraph
x[cnt,:] = newGraph.obsVal[newGraph.ObsIdx[i][ind],:]
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesThe text was updated successfully, but these errors were encountered: