Comments (3)
Just follow the tiled inference examples under README π
from yolo_tracking.
I did but using yolo.track
provided a lightweight result compared to using yolo.predict (like in tiled inference example). So, I wanted to utilize it instead of yolo.predict
. Would taking the IDs returned by yolo.track suffice? I attempted to extract the IDs using id = r.boxes.id.cpu().numpy()
, but encountered an error.
video 1/1 (11/3766)..: 384x640 10 cars, 74.6ms
strong sort called
[ 1 2 3 4 5 6 7 8 9 10]
video 1/1 (12/3766) .. 384x640 10 cars, 64.8ms
strong sort called
[ 1 2 3 4 5 6 7 8 9 10 11 12]
video 1/1 (13/3766) ...: 384x640 11 cars, 1 truck, 67.3ms
strong sort called
Traceback (most recent call last):
File "tracking/track.py", line 237, in
run(opt)
File "../lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "tracking/track.py", line 159, in run
for r in results:
File "../lib/python3.8/site-packages/torch/utils/_contextlib.py", line 56, in generator_context
response = gen.send(request)
File "..lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 274, in stream_inference
self.run_callbacks('on_predict_postprocess_end')
File "..lib/python3.8/site-packages/ultralytics/engine/predictor.py", line 377, in run_callbacks
callback(self)
File "../lib/python3.8/site-packages/ultralytics/trackers/track.py", line 64, in on_predict_postprocess_end
predictor.results[i] = predictor.results[i][idx]
File "..lib/python3.8/site-packages/ultralytics/engine/results.py", line 108, in getitem
return self._apply('getitem', idx)
File "..lib/python3.8/site-packages/ultralytics/engine/results.py", line 143, in _apply
setattr(r, k, getattr(v, fn)(*args, **kwargs))
File "../lib/python3.8/site-packages/ultralytics/engine/results.py", line 63, in getitem
return self.class(self.data[idx], self.orig_shape)
IndexError: index 9 is out of bounds for dimension 0 with size 9
from yolo_tracking.
π Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
from yolo_tracking.
Related Issues (20)
- 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
- While using DeepOCSort algorithm failes with KeyError: 'last_measurement' HOT 6
- 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 2
- How to combine ocsort and other algorithms you provide with yolov8? HOT 2
- StrongSORT plotting results HOT 4
- TensorRT HOT 9
- Applicability of Boxmot in my case HOT 6
- `KalmanBoxTracker.observations` grows infinitely, causing out of memory HOT 2
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 yolo_tracking.