cfotache / pytorch_objectdetecttrack

Object detection in images, and tracking across video frames
483 stars 253 forks source link

kindly help me fix this problem #35

Open k98vishwas opened 2 years ago

k98vishwas commented 2 years ago

tracked_objects = mot_tracker.update(detections.cpu())

this above line i am facing this below error

TypeError: tuple indices must be integers or slices, not tuple

jiahhhui commented 2 years ago

did u manage to solve this?

k98vishwas commented 2 years ago

Yes, did solve it.

jiahhhui commented 2 years ago

may i know how u did it?

taaresh7 commented 2 years ago

@jiahhhui The error is because of scipy linear assignment, use the first answer from https://stackoverflow.com/questions/57369848/how-do-i-resolve-use-scipy-optimize-linear-sum-assignment-instead/57992848#57992848