Indices Error
Traceback (most recent call last):
File "main.py", line 110, in :), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
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?
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 indices
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 indices
I also have the same error. Have you solved it?