Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TensorRT not found #15

Open
AntonioDLC opened this issue Nov 23, 2024 · 1 comment
Open

TensorRT not found #15

AntonioDLC opened this issue Nov 23, 2024 · 1 comment

Comments

@AntonioDLC
Copy link

I have this error when running python3 main.py and can't proceed:

>python3 ./src/app/main.py
2024-11-23 19:34:07.542312: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-11-23 19:34:08.367428: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/home/tuan/Documents/Repos/arg-min-fw/./src/app/main.py", line 12, in
from framework.engine import Engine
File "/home/tuan/Documents/Repos/arg-min-fw/src/app/framework/engine.py", line 22, in
logging.basicConfig(
File "/usr/lib/python3.10/logging/init.py", line 2040, in basicConfig
h = FileHandler(filename, mode,
File "/usr/lib/python3.10/logging/init.py", line 1169, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.10/logging/init.py", line 1201, in _open
return open_func(self.baseFilename, self.mode,
FileNotFoundError: [Errno 2] No such file or directory: '/home/tuan/Documents/Repos/arg-min-fw/src/log/engine_log.log'

@Ilnasts
Copy link

Ilnasts commented Dec 14, 2024

I'm having the same issue. Even after purging the dependencies and manually installing some recalcitrant requirements (there were some issues with tensorflow), there seem to be a lot of problems with the code. Even after brute forcing the trials to run by ignoring the engine log error and algos, it still returned errors, firstly relating to the algos. It's a shame, as researchers can't avail themselves of this tool, and credit its creators for it, if they can't use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants