Comments (6)
Fixed. I have reverted my changes. They need more testing...
from boxmot.
Hey, thanks, it worked after your fix but there seems to be 1 more bug in the repo.
I am on latest version, 10.0.73, and when I set the param new_kf_off=True
I get the following error:
tracks = tracker.update(dets, im)
File "/home/alaap/anaconda3/envs/env_py310/lib/python3.10/site-packages/boxmot/utils/__init__.py", line 81, in wrapper
tracks = self.update(instance, dets, im)
File "/home/alaap/anaconda3/envs/env_py310/lib/python3.10/site-packages/boxmot/trackers/deepocsort/deep_ocsort.py", line 497, in update
trk = KalmanBoxTracker(
File "/home/alaap/anaconda3/envs/env_py310/lib/python3.10/site-packages/boxmot/trackers/deepocsort/deep_ocsort.py", line 140, in __init__
self.kf = OCSortKalmanFilterAdapter(dim_x=7, dim_z=4)
NameError: name 'OCSortKalmanFilterAdapter' is not defined
Let me know what I can do to fix this.
Thanks.
from boxmot.
Yup, on this.
from boxmot.
Thanks a lot, @mikel-brostrom
On another note, I also have a curious case related to association(if I am not wrong)
I have been thinking about how to solve it, and any advice from an expert would be appreciated.
Brief of issue:
I have a human walking in 1 direction and id is being properly tracked to 0.
Later he instantly chose to go in opposite direction
, and as he does that the detector misses detection for 1 frame and 1 frame only. As soon as I get the new bbox (which is diff in size and In different direction) tracker assign it a different id of 1.
Now what I cannot fathom is how just 1 missed det led to change in id. I checked the boxes, and IOU is > 0.3 and operator hasn't moved too far, only in opposite dir. The size of bbox changes de to angle so I fig crop could have diff features.
But I suspect association messed it up or could be kalman filter by I tried setting w_association_emb=0.99
to put more weight on ReID in hope that ReID will surely work but apparently that did not help.
I have tried playing with inertia
, max age
, and other params to diff values but problem persists.
How could we have solved this problem if we were to? it will be a common thing that object changed it's motion and in btw missed 1 or 2 dets,
new det should still be assigned the same id but here in this case it is not.
Thank you.
from boxmot.
Hey, thanks, it worked after your fix but there seems to be 1 more bug in the repo.
I am on latest version, 10.0.73, and when I set the param
new_kf_off=True
I get the following error:tracks = tracker.update(dets, im) File "/home/alaap/anaconda3/envs/env_py310/lib/python3.10/site-packages/boxmot/utils/__init__.py", line 81, in wrapper tracks = self.update(instance, dets, im) File "/home/alaap/anaconda3/envs/env_py310/lib/python3.10/site-packages/boxmot/trackers/deepocsort/deep_ocsort.py", line 497, in update trk = KalmanBoxTracker( File "/home/alaap/anaconda3/envs/env_py310/lib/python3.10/site-packages/boxmot/trackers/deepocsort/deep_ocsort.py", line 140, in __init__ self.kf = OCSortKalmanFilterAdapter(dim_x=7, dim_z=4) NameError: name 'OCSortKalmanFilterAdapter' is not defined
Let me know what I can do to fix this. Thanks.
Should be fixed π
from boxmot.
Thanks a lot, @mikel-brostrom
On another note, I also have a curious case related to
association(if I am not wrong)
I have been thinking about how to solve it, and any advice from an expert would be appreciated.Brief of issue:
I have a human walking in 1 direction and id is being properly tracked to 0. Later he
instantly chose to go in opposite direction
, and as he does that the detector misses detection for 1 frame and 1 frame only. As soon as I get the new bbox (which is diff in size and In different direction) tracker assign it a different id of 1.Now what I cannot fathom is how just 1 missed det led to change in id. I checked the boxes, and IOU is > 0.3 and operator hasn't moved too far, only in opposite dir. The size of bbox changes de to angle so I fig crop could have diff features.
But I suspect association messed it up or could be kalman filter by I tried setting
w_association_emb=0.99
to put more weight on ReID in hope that ReID will surely work but apparently that did not help.I have tried playing with
inertia
,max age
, and other params to diff values but problem persists.How could we have solved this problem if we were to? it will be a
common thing that object changed it's motion and in btw missed 1 or 2 dets,
new det should still be assigned the same id but here in this case it is not.Thank you.
Please open a new issue π . As it is out of scope for this one. I will try to help you there
from boxmot.
Related Issues (20)
- Minimum number of hits quesiton HOT 2
- Question about Evaluation on First 10 Frames HOT 3
- How to increase the size of history_observations. HOT 2
- Why ReID improves HybridSORT performance HOT 4
- DiffMOT HOT 1
- tracking of HybridSORT when moving to the next part of the video HOT 1
- MASA: Matching Anything By Segmenting Anything (CVPR24) HOT 4
- IndexError Occurs When max_age is Set Above 60 HOT 1
- Change in motion of object and 1 missed det led to change in tracking ID. HOT 23
- What is the difference between the original ultralytics package and custom ultralytics package used in yolo-tracking
- BoT-SORT with YOLOv5 as detector. HOT 2
- How do I keep track in low frame rate videoοΌ HOT 1
- How can we calculate the FPS of each tracker? HOT 1
- Run Strong Sort Tracker on GPU HOT 3
- AttributeError: 'BYTETracker' object has no attribute 'reset' HOT 1
- What should I do when there is no detection HOT 5
- train a REID MODEL HOT 1
- How to combine ocsort and other algorithms you provide with yolov8?
- StrongSORT plotting results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boxmot.