Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't find the file of quantize_graph #4

Open
liuhantao9 opened this issue Feb 16, 2018 · 1 comment
Open

I can't find the file of quantize_graph #4

liuhantao9 opened this issue Feb 16, 2018 · 1 comment

Comments

@liuhantao9
Copy link

I have no quantization folder inside bazel-bin/tensorflow/tools. However, I have it inside tensorflow-master/tensorflow/tools/quantization. I just removed the bazel-bin and simply put tensorflow/tools/quantization/quantize_graph and it tells me can not find the directory or file.
Do you know why it happen.
How am I able to get a quantization folder inside bazel-bin?

@jeffxtang
Copy link
Owner

This works for me on TF 1.4 recently:

python tensorflow/tools/quantization/quantize_graph.py --input=darkflow/built_graph/tiny-yolo.pb --output_node_names=output --output=quantized_tiny-yolo.pb --mode=weights

python tensorflow/tools/quantization/quantize_graph.py --input=darkflow/built_graph/tiny-yolo-voc.pb --output_node_names=output --output=quantized_tiny-yolo-voc.pb --mode=weights

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants