Giter VIP home page Giter VIP logo

Comments (7)

CodingMantras avatar CodingMantras commented on May 28, 2024

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.

ktsi avatar ktsi commented on May 28, 2024

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.

ktsi avatar ktsi commented on May 28, 2024

BTW, I tried with another RTSP feed but I have the same behavior.

from yolov8-streamlit-detection-tracking.

CodingMantras avatar CodingMantras commented on May 28, 2024

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.

ktsi avatar ktsi commented on May 28, 2024

It's a MacBook Air M1 with 8 gigs of total ram/vram.

from yolov8-streamlit-detection-tracking.

CodingMantras avatar CodingMantras commented on May 28, 2024

πŸ‘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.

ktsi avatar ktsi commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.