'I keep getting this error: TypeError: tuple indices must be integers or slices, not tuple

I am trying to do this tutorial: https://colab.research.google.com/drive/1d8PEeSdVlP0JogKwkytvFeyXXPu_qfXg?usp=sharing#scrollTo=sDixMreeUS_9

and this is https://github.com/mjpramirez/Volvo-DataX the repository in GitHub

So when I am trying to run the model I kept getting this error and I already find which file has this error and this is where the problem:

unmatched_trackers = []
  for t,trk in enumerate(trackers):
    if(t not in matched_indices[:,1]):
      unmatched_trackers.append(t)

I tried to replace 1 with 0 but still not working.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source