Guide-Vest/workspace/result-03.log

56 lines
3.8 KiB
Plaintext
Raw Permalink Normal View History

2024-05-24 22:06:52 +08:00
[I] RUNNING | Command: /home/user/.local/bin/polygraphy run yolov8n-seg.transd.engine --trt --verbose
[V] Loaded Module: polygraphy | Version: 0.47.1 | Path: ['/home/user/.local/lib/python3.8/site-packages/polygraphy']
[V] Loaded extension modules: []
[I] Module: 'tensorrt' is required, but not installed. Attempting to install now.
[I] Running installation command: /usr/bin/python3 -m pip install tensorrt
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/mod/importer.py", line 156, in import_mod
mod = importlib.import_module(name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 848, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/user/.local/lib/python3.8/site-packages/tensorrt/__init__.py", line 68, in <module>
from .tensorrt import *
ImportError: /home/user/.local/lib/python3.8/site-packages/tensorrt/libnvonnxparser.so.8: undefined symbol: getBuilderPluginRegistry
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/bin/polygraphy", line 8, in <module>
sys.exit(main())
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/tools/_main.py", line 70, in main
status = selected_tool.run(args)
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/tools/base/tool.py", line 171, in run
status = self.run_impl(args)
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/tools/run/run.py", line 228, in run_impl
exec(str(script))
File "<string>", line 20, in <module>
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/backend/trt/runner.py", line 86, in __init__
trt_util.check_numpy_trt_compatibility()
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/backend/trt/util.py", line 161, in check_numpy_trt_compatibility
if mod.version(trt.__version__) < mod.version("8.6") and \
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/mod/importer.py", line 215, in __getattr__
module = self.__polygraphy_import_mod()
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/mod/importer.py", line 211, in __polygraphy_import_mod
super().__setattr__(MODULE_VAR_NAME, import_mod())
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/mod/importer.py", line 163, in import_mod
mod = install_mod(install_name, install_version)
File "/home/user/.local/lib/python3.8/site-packages/polygraphy/mod/importer.py", line 151, in install_mod
mod = importlib.import_module(install_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 848, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/user/.local/lib/python3.8/site-packages/tensorrt/__init__.py", line 68, in <module>
from .tensorrt import *
ImportError: /home/user/.local/lib/python3.8/site-packages/tensorrt/libnvonnxparser.so.8: undefined symbol: getBuilderPluginRegistry