tensorflow / runtime

A performant and modular runtime for TensorFlow
Apache License 2.0
756 stars 123 forks source link

How to run real TF models... #81

Open Honya2000 opened 3 years ago

Honya2000 commented 3 years ago

After i figured out how to compile TFRT on windows... Next question - how to use it with real pretrained models... I have several of them in tfjs and tf-lite formats. Bazel build generated 2 executables: tfrt_translate and bef_executor. First requires MLIR script. Second - BEF file. So I cannot inference my models directly. But how can I convert my models to MLIR? Google had some troubles finding proper answers to this. And without first step - I cannot use bef_executor...

Any suggestions please?