Skip to content

Instantly share code, notes, and snippets.

@Tony607
Created April 22, 2019 01:09
Show Gist options
  • Save Tony607/ee248ed539525d0985f65c786ab33c79 to your computer and use it in GitHub Desktop.
Save Tony607/ee248ed539525d0985f65c786ab33c79 to your computer and use it in GitHub Desktop.
How to run TensorFlow Object Detection model on Jetson Nano | DLology
import tensorflow.contrib.tensorrt as trt
trt_graph = trt.create_inference_graph(
input_graph_def=frozen_graph,
outputs=output_names,
max_batch_size=1,
max_workspace_size_bytes=1 << 25,
precision_mode='FP16',
minimum_segment_size=50
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment