EfficientNET.onnx does not run in TensorRT
See original GitHub issueHi, I’ve got this error for running the converted EfficientNet from PyTorch to Onnx in TensorRT:
Traceback (most recent call last):
File "tensorrt_python.py", line 59, in <module>
context = engine.create_execution_context()
AttributeError: 'NoneType' object has no attribute 'create_execution_context'
Can anybody help me?
TensorRT version: 6.1.05 Pytorch: 1.1.0 Onnx: 1.5.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Tensorrt convert efficientnet-b0 model published by nvidia ...
The error said: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64.
Read more >TensorRT/ONNX - eLinux.org
Since TensorRT 6.0 released and the ONNX parser only supports networks with an explicit batch dimension, this part will introduce how to do ......
Read more >ONNX to TensorRT (Experimental)
Use our tool pytorch2onnx.md to convert the model from PyTorch to ONNX. ... --max-batch-size : The max batch size of TensorRT model, should...
Read more >Speed-up ONNX models with TensorRT - DeepDetect
DeepDetect is an Open-Source Deep Learning platform made by Jolibrain's scientists for the Enterprise.
Read more >Tensorrt onnx supported layers - Campo dei Bambini
While there has been a lot of examples for running inference using ONNX Runtime ... We found some ONNX layers cannot be parsed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally, I could run the efficientNet model using this environment:
There was an error during engine creation hence engine is None. You have to provide more information how your engine is created because engine creation can fail for various reasons.