Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

"Why does this issue occur?" #23

Open
@parzi12

Description

@parzi12

Why am I encountering this error while running YOLOv5 in Docker, and how can I resolve it? please bb

root@1eedc933a7f6:~/catkin_ws/src/yolov5_ros/launch# roslaunch yolov5_ros yolov5.launch
... logging to /root/.ros/log/0fdf95f6-7a15-11ee-8153-0242ac110002/roslaunch-1eedc933a7f6-1525.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://1eedc933a7f6:39731/

SUMMARY

PARAMETERS

  • /detect/agnostic_nms: True
  • /detect/confidence_threshold: 0.75
  • /detect/data: /root/catkin_ws/s...
  • /detect/device: 0
  • /detect/dnn: True
  • /detect/half: False
  • /detect/inference_size_h: 480
  • /detect/inference_size_w: 640
  • /detect/input_image_topic: /image_jpeg/compr...
  • /detect/iou_threshold: 0.05
  • /detect/line_thickness: 3
  • /detect/maximum_detections: 1000
  • /detect/output_image_topic: /yolov5/image_out
  • /detect/output_topic: /yolov5/detections
  • /detect/publish_image: True
  • /detect/view_image: True
  • /detect/weights: /root/catkin_ws/s...
  • /rosdistro: noetic
  • /rosversion: 1.16.0

NODES
/
detect (yolov5_ros/detect.py)

ROS_MASTER_URI=http://localhost:11311

process[detect-1]: started with pid [1550]
No protocol specified
qt.qpa.xcb: could not connect to display :1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.8/dist-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

[detect-1] process has died [pid 1550, exit code -6, cmd /root/catkin_ws/devel/lib/yolov5_ros/detect.py __name:=detect __log:=/root/.ros/log/0fdf95f6-7a15-11ee-8153-0242ac110002/detect-1.log].
log file: /root/.ros/log/0fdf95f6-7a15-11ee-8153-0242ac110002/detect-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions