Search code examples
pythontensorflowdeep-learningbazel

How to quantize my tensorflow model without using bazel ?


I am trying to quantize my tensorflow trained graph (.pb file) and following these instructions in the TF tutorial . But they are using bezel commands to build it . Is there any way where I can run this as a normal python script ?


Solution

  • It's designed to be run through Bazel. It's possible you could manually compile all the protos, add __init__.py files in the directories, and create any generated files, but it'll probably be a lot easier to just download the Bazel binary for your system.