0

我已经安装了 labelImg 包来标记图像以训练和测试图像。但是当我尝试打开它时出现此错误。我无法理解错误的原因。

Traceback (most recent call last):
  File "D:\Programming\Python\A.I\Programs\Open CV\Face mask detection\Tensorflow\labelimg\labelImg.py", line 1649, in <module>
    sys.exit(main())
  File "D:\Programming\Python\A.I\Programs\Open CV\Face mask detection\Tensorflow\labelimg\labelImg.py", line 1645, in main
    app, _win = get_main_app(sys.argv)
  File "D:\Programming\Python\A.I\Programs\Open CV\Face mask detection\Tensorflow\labelimg\labelImg.py", line 1636, in get_main_app
    win = MainWindow(args.image_dir,
  File "D:\Programming\Python\A.I\Programs\Open CV\Face mask detection\Tensorflow\labelimg\labelImg.py", line 124, in __init__
    self.use_default_label_checkbox = QCheckBox(get_str('useDefaultLabel'))
  File "D:\Programming\Python\A.I\Programs\Open CV\Face mask detection\Tensorflow\labelimg\labelImg.py", line 87, in <lambda>
    get_str = lambda str_id: self.string_bundle.get_string(str_id)
  File "D:\Programming\Python\A.I\Programs\Open CV\Face mask detection\Tensorflow\labelimg\libs\stringBundle.py", line 47, in get_string
    assert(string_id in self.id_to_message), "Missing string id : " + string_id
AssertionError: Missing string id : useDefaultLabel

这是错误。任何形式的帮助都会很棒。谢谢 。

4

0 回答 0