by Anonymous » 25 Jul 2025, 16:29
Ich folge mit diesem YouTube -Video. < /p>
Ich habe den Befehl bereits ausgeführt.
Code: Select all
pip install labelme opencv-python tensorflow matplotlib albumentations
< /code>
im VS -Code -PowerShell -Terminal und erfolgreich den Code, um Bilder für die Beschriftung zu erfassen. Wenn ich jedoch versuche, den Befehl LabelMe
auszuführen, erhalte ich den Fehler
Code: Select all
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Scripts\labelme.exe\__main__.py", line 4, in
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\labelme\__main__.py", line 17, in
from labelme.app import MainWindow
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\labelme\app.py", line 21, in
from labelme._automation import bbox_from_text
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\labelme\_automation\bbox_from_text.py", line 6, in
import osam
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\osam\__init__.py", line 5, in
from . import apis # noqa: F401
^^^^^^^^^^^^^^^^^^
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\osam\apis.py", line 5, in
import onnxruntime
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\__init__.py", line 61, in
raise import_capi_exception
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\__init__.py", line 24, in
from onnxruntime.capi._pybind_state import (
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\capi\_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
Ausführen von ONNX -Help Wie in diesem Reddit -Beitrag erhält
Code: Select all
onnx : The term 'onnx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ onnx --help
+ ~~~~
+ CategoryInfo : ObjectNotFound: (onnx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PIP laufende PIP Installieren Sie onnxRuntime-directMl == 1.18.0 wie in diesem GitHub-Problem und dann labelMe A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy
Ich folge mit diesem YouTube -Video. < /p>
Ich habe den Befehl bereits ausgeführt.[code]pip install labelme opencv-python tensorflow matplotlib albumentations
< /code>
im VS -Code -PowerShell -Terminal und erfolgreich den Code, um Bilder für die Beschriftung zu erfassen. Wenn ich jedoch versuche, den Befehl LabelMe [/code] auszuführen, erhalte ich den Fehler
[code]Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Scripts\labelme.exe\__main__.py", line 4, in
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\labelme\__main__.py", line 17, in
from labelme.app import MainWindow
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\labelme\app.py", line 21, in
from labelme._automation import bbox_from_text
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\labelme\_automation\bbox_from_text.py", line 6, in
import osam
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\osam\__init__.py", line 5, in
from . import apis # noqa: F401
^^^^^^^^^^^^^^^^^^
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\osam\apis.py", line 5, in
import onnxruntime
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\__init__.py", line 61, in
raise import_capi_exception
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\__init__.py", line 24, in
from onnxruntime.capi._pybind_state import (
File "C:\Users\Otaku\AppData\Local\Programs\Python\Python312\Lib\site-packages\onnxruntime\capi\_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.
[/code]
Ausführen von ONNX -Help Wie in diesem Reddit -Beitrag erhält
[code]onnx : The term 'onnx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ onnx --help
+ ~~~~
+ CategoryInfo : ObjectNotFound: (onnx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
[/code]
PIP laufende PIP Installieren Sie onnxRuntime-directMl == 1.18.0 wie in diesem GitHub-Problem und dann labelMe A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy