Comments (7)
Hi, can you add the error message or any warning at the terminal or at the front end? Or is it stopping abruptly?
from yolov8-streamlit-detection-tracking.
Hi there,
Thanks for getting back. Well the image freezes after about 1 -2 seconds. Strange thing is that the logs freeze at the same time but after a while I see an error message and logs start again and then freeze again. Image on the web app is frozen all the time after the initial working period.
Look at this sample:
0: 384x640 3 persons, 1 tv, 44.4ms
Speed: 1.3ms preprocess, 44.4ms inference, 0.4ms postprocess per image at shape (1, 3, 384, 640)
0: 384x640 3 persons, 1 tv, 46.1ms
Speed: 1.3ms preprocess, 46.1ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
0: 384x640 3 persons, 1 tv, 46.0ms
Speed: 1.3ms preprocess, 46.0ms inference, 0.6ms postprocess per image at shape (1, 3, 384, 640)
[h264 @ 0x12763fc20] corrupted macroblock 16 11 (total_coeff=-1)
[h264 @ 0x12763fc20] error while decoding MB 16 11
0: 384x640 3 persons, 1 tv, 62.1ms
Speed: 4.5ms preprocess, 62.1ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
0: 384x640 3 persons, 1 tv, 62.1ms
Speed: 4.3ms preprocess, 62.1ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
0: 384x640 3 persons, 1 tv, 45.4ms
Speed: 1.5ms preprocess, 45.4ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
from yolov8-streamlit-detection-tracking.
BTW, I tried with another RTSP feed but I have the same behavior.
from yolov8-streamlit-detection-tracking.
Are you trying this on a GPU-assisted system?
The inferencing of a video in this system requires a high-end system with at least 4 GB GPU.
from yolov8-streamlit-detection-tracking.
It's a MacBook Air M1 with 8 gigs of total ram/vram.
from yolov8-streamlit-detection-tracking.
πYes, you already mentioned that. At my end, I am able to receive the RTSP stream and run detection and tracking.
As you mentioned the error.
0: 384x640 3 persons, 1 tv, 46.0ms
Speed: 1.3ms preprocess, 46.0ms inference, 0.6ms postprocess per image at shape (1, 3, 384, 640)
[h264 @ 0x12763fc20] corrupted macroblock 16 11 (total_coeff=-1)
[h264 @ 0x12763fc20] error while decoding MB 16 11
After the error msgs, it is still performing detections, as here:
0: 384x640 3 persons, 1 tv, 62.1ms
Speed: 4.5ms preprocess, 62.1ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
0: 384x640 3 persons, 1 tv, 62.1ms
Speed: 4.3ms preprocess, 62.1ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
0: 384x640 3 persons, 1 tv, 45.4ms
Speed: 1.5ms preprocess, 45.4ms inference, 0.5ms postprocess per image at shape (1, 3, 384, 640)
So, it is running but the display is not correct... is this what you mean...
from yolov8-streamlit-detection-tracking.
Display is frozen. That is the issue. Since logs indicate it is still detecting, what could be the cause?
from yolov8-streamlit-detection-tracking.
Related Issues (11)
- Problem with Youtube video HOT 1
- CUDA ERROR
- i need to put over 3 wieghts
- Possibility to add a counter on the webcam object detection and tracker
- video displaying HOT 1
- CONVERT TO .EXE HOT 1
- Next stage of the project (question before installation)
- Outage due to youtube video request
- About YOLOv8 weights HOT 1
- Object detection with custom YOLOv5 model HOT 4
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 yolov8-streamlit-detection-tracking.