Skip to content

necessary package requirements for executing a Tensorflow model #1210

Closed Answered by kali
KeeganJin asked this question in Q&A
Discussion options

You must be logged in to vote

Well, guess what. Use tract-tensorflow for tensorflow models, tract-onnx for ONNX models, tract-nnef for NNEF models and tract-tflite for TensorFlow Lite :)

Using tract-nnef or tract-tflite makes smaller binaries that tract-onnx or tract-tensorflow.
NNEF and ONNX are the two more mature formats in tract. Support for TensorFlow is limited to 1.x and is on its way to deprecation. TensorflowLite support is brand new, still limited and should be considered alpha-level.

tract command line can load the four formats, and can dump models in NNEF or tflite format, so it can be used as a converter to NNEF or tflite.

To 1/ keep your binaries small and 2/ avoid using alpha or deprecated code, the bes…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KeeganJin
Comment options

Answer selected by KeeganJin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants