Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the stream with pipeline after installing opencv with cuda #159

Open
Yogeesh-KS opened this issue Oct 3, 2024 · 2 comments

Comments

@Yogeesh-KS
Copy link

Yogeesh-KS commented Oct 3, 2024

pipeless start --stages-dir .
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] ⚙️  Loading stages from .
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] ⏳ Loading stage 'yolo' from ./yolo
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/README.md
[2024-10-03T11:13:51Z WARN  pipeless_ai::stages::parser] File README.md not loaded as a hook. Unsupported hook extension.
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/init.py
PRO TIP 💡 Replace 'model=yolov5n.pt' with new 'model=yolov5nu.pt'.
YOLOv5 'u' models are trained with https://github.com/ultralytics/ultralytics and feature improved performance vs standard YOLOv5 models trained with https://github.com/ultralytics/yolov5.

[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/process.py
[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Creating stateless hook for yolo-process
[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/post-process.py
[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Creating stateless hook for yolo-post_process
[2024-10-03T11:13:52Z WARN  pipeless_ai::stages::parser] 
                    ⚠️  Ignoring file at stages root because it does not belong to any stage: ./yolov5nu.pt.
                      Hint: Move it to a stage folder if this is not intentional
                
[2024-10-03T11:13:52Z INFO  pipeless_ai::config::adapters::rest] REST adapter running
[2024-10-03T11:13:52Z INFO  warp::server] Server::run; addr=0.0.0.0:3030
[2024-10-03T11:13:52Z INFO  warp::server] listening on http://0.0.0.0:3030
[2024-10-03T11:13:59Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-10-03T11:13:59Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-10-03T11:14:01Z INFO  pipeless_ai::input::pipeline] Using SystemMemory
[2024-10-03T11:14:01Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element qtdemux0.
                    Pipeline id: aaad993c-0f9d-4604-b093-7e4edd391834. Error: Internal data stream error.
[2024-10-03T11:14:01Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: aaad993c-0f9d-4604-b093-7e4edd391834 due to input stream error: Internal data stream error.
[2024-10-03T11:14:01Z INFO  pipeless_ai::events] Stream loop stopped
[2024-10-03T11:14:01Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-10-03T11:15:11Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-10-03T11:15:11Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-10-03T11:15:11Z INFO  pipeless_ai::input::pipeline] Using SystemMemory
[2024-10-03T11:15:11Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element qtdemux1.
                    Pipeline id: 03f7bbf2-676d-486a-9425-2b974f1fa358. Error: Internal data stream error.
[2024-10-03T11:15:11Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 03f7bbf2-676d-486a-9425-2b974f1fa358 due to input stream error: Internal data stream error.
[2024-10-03T11:15:11Z INFO  pipeless_ai::events] Stream loop stopped
[2024-10-03T11:15:11Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-10-03T11:15:56Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-10-03T11:15:56Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-10-03T11:15:56Z INFO  pipeless_ai::input::pipeline] Using SystemMemory
[2024-10-03T11:15:56Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element qtdemux2.
                    Pipeline id: 304ca0f2-54e1-4a9b-b814-de9a22d1c95d. Error: Internal data stream error.
[2024-10-03T11:15:56Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 304ca0f2-54e1-4a9b-b814-de9a22d1c95d due to input stream error: Internal data stream error.
[2024-10-03T11:15:56Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-10-03T11:15:56Z INFO  pipeless_ai::events] Stream loop stopped
@miguelaeh
Copy link
Collaborator

Run with GST_DEBUG=4 to see what's the actual error

@Yogeesh-KS
Copy link
Author

gst_debug4.txt

Here is the log file attached when run on GST_DEBUG=4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants