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

The engine plan file is not compatible with this version of TensorRT, expecting library version 5.1.5 got 5.1.6, please rebuild. #17

Closed
muhk01 opened this issue Jan 28, 2020 · 1 comment

Comments

@muhk01
Copy link

muhk01 commented Jan 28, 2020

[TensorRT] ERROR: The engine plan file is not compatible with this version of TensorRT, expecting library version 5.1.5 got 5.1.6, please rebuild. Traceback (most recent call last): File "experimental/teachable_machine.py", line 7, in <module> import poses File "/home/xxxx/ActionAI/experimental/poses.py", line 19, in <module> model_trt.load_state_dict(torch.load(OPTIMIZED_MODEL)) File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 824, in load_state_dict load(self) File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 819, in load state_dict, prefix, local_metadata, True, missing_keys, unexpected_keys, error_msgs) File "/usr/local/lib/python3.7/site-packages/torch2trt/torch2trt.py", line 309, in _load_from_state_dict self.context = self.engine.create_execution_context() AttributeError: 'NoneType' object has no attribute 'create_execution_context'
how to suppose fix issue mentioned above? actually i tried to run on laptop which is installed tensorrt 5.1.5, or this cannot be run on device other than jetson nano?

@muhk01 muhk01 closed this as completed Jan 28, 2020
@freitaucher
Copy link

same story. I'm just wondering what is 5.1.6 - there is nothing like that on nvidia tensorrt website

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