shadfien / python_opencv

opencv问题
0 stars 0 forks source link

labelimage安装失败问题 #30

Open shadfien opened 2 years ago

shadfien commented 2 years ago

报错如下

python3 labelImg.py 
/usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so: symbol gnutls_pkcs11_privkey_init version GNUTLS_3_4 not defined in file libgnutls.so.30 with link time reference
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
Gtk-Message: 14:36:55.308: GtkDialog mapped without a transient parent. This is discouraged.
Traceback (most recent call last):
  File "labelImg.py", line 1428, in open_next_image
    self.load_file(filename)
  File "labelImg.py", line 1159, in load_file
    self.show_bounding_box_from_annotation_file(file_path)
  File "labelImg.py", line 1202, in show_bounding_box_from_annotation_file
    self.load_yolo_txt_by_filename(txt_path)
  File "labelImg.py", line 1616, in load_yolo_txt_by_filename
    t_yolo_parse_reader = YoloReader(txt_path, self.image)
  File "/home/autodrive/labelImg-master/libs/yolo_io.py", line 97, in __init__
    classes_file = open(self.class_list_path, 'r')
FileNotFoundError: [Errno 2] 没有那个文件或目录: '/home/autodrive/yolov5/runs/detect/exp6/labels/classes.txt'
已放弃 (核心已转储)