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 #475

Open
tiagodavi opened this issue Jan 4, 2023 · 0 comments
Open

TensorRT #475

tiagodavi opened this issue Jan 4, 2023 · 0 comments

Comments

@tiagodavi
Copy link

First of all, thank you for the implementation.

Well, most of those script files have a line like bellow, but it's using trt nowhere
flags.DEFINE_string('framework', 'tf', '(tf, tflite, trt')

Where is FLAGS.framework == 'trt' ?

benchmarks.py has an implementation for TRT, but it still depends on the regular tensorflow/tf ?

 elif FLAGS.framework == 'trt':
        saved_model_loaded = tf.saved_model.load(FLAGS.weights, tags=[tag_constants.SERVING])
        signature_keys = list(saved_model_loaded.signatures.keys())
        print(signature_keys)
        infer = saved_model_loaded.signatures['serving_default']

My question is, how to use tensorRT only without relying on tensorflow?

And if someone sees this issue and know how to install tensforflow 2 on jetson xavier + balenaOS with gpu please leave the link, because I have been trying to make it work and it's pain! For now I have trt installed, but not the normal tensorflow.

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

1 participant