Why tensorFlow Library Can't run light tensoreflow module?

I am running a python code that contains a module of tensorflow light. The error is AttributeError: module ‘tensorflow’ has no attribute ‘lite’. I have tried most of the online solution, yet none of them worked.

PS: system information.
Package: nvidia-jetpack
Version: 4.5-b129
Architecture; arm64

Tensorflow Version: 1.15.5

Hi,

I am going to move this over to the TensorRT forum for better visibility.

Hi,
Request you to share the ONNX model and the script if not shared already so that we can assist you better.
Alongside you can try few things:
https://docs.nvidia.com/deeplearning/tensorrt/quick-start-guide/index.html#onnx-export

  1. validating your model with the below snippet

check_model.py

import sys
import onnx
filename = yourONNXmodel
model = onnx.load(filename)
onnx.checker.check_model(model).
2) Try running your model with trtexec command.
https://github.com/NVIDIA/TensorRT/tree/master/samples/opensource/trtexec
In case you are still facing issue, request you to share the trtexec “”–verbose"" log for further debugging
Thanks!