You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting labelMe, the following error occurs:
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\test\venv\Scripts\labelme.exe\__main__.py", line 4, in <module>
File "d:\test\venv\lib\site-packages\labelme\__main__.py", line 14, in <module>
from labelme.app import MainWindow
File "d:\test\venv\lib\site-packages\labelme\app.py", line 22, in <module>
from labelme import ai
File "d:\test\venv\lib\site-packages\labelme\ai\__init__.py", line 5, in <module>
from .text_to_annotation import get_rectangles_from_texts # NOQA: F401
File "d:\test\venv\lib\site-packages\labelme\ai\text_to_annotation.py", line 10, in <module>
model: str, image: np.ndarray, texts: list[str]
TypeError: 'type' object is not subscriptable
Expected Behavior
The application should start.
To Reproduce
The issue occurs with labelMe 5.6.0 or newer. Neither command line nor .exe works.
Provide environment information
Python 3.8.10
What OS are you using?
Windows 10, Build 19045
Describe the Bug
When starting labelMe, the following error occurs:
Expected Behavior
The application should start.
To Reproduce
The issue occurs with labelMe 5.6.0 or newer. Neither command line nor .exe works.
Steps:
The text was updated successfully, but these errors were encountered: