Advertisement
Guest User

Untitled

a guest
May 24th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. WHAT SHOULD BE DONE
  2.  
  3. tf to trt convert cqn only be done on other linux mqchine : tensorflow is not available for ARM
  4.  
  5. get sample model from nvidia sample support page for the relevant sample
  6. use convert_to_uff located at /usr/lib/python2.7/dist-packages/uff/bin/convert_to_uff.py
  7.  
  8. sudo apt-get install python3-pip
  9. sudo pip3 install protobuf numpy
  10. sudo pip3 install tensorflow==2.0.0-alpha0
  11.  
  12.  
  13. COPY THE MODEL
  14.  
  15. ON THE TEGRA
  16. sudo python3.6 /usr/lib/python3.6/dist-packages/uff/bin/convert_to_uff.py frozen_inference_graph.pb -O NMS -p config.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement