Skip to content

TensorRT #475

@tiagodavi

Description

@tiagodavi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions