Unverified Commit 7a75bfce authored by Daniel Hunter's avatar Daniel Hunter Committed by GitHub
Browse files

Update lite path + fix --config option

`lite` is no longer under `contrib`. 

Additionally, `--config=opt` fails, see: https://github.com/tensorflow/serving/issues/517
parent d7ce21fa
...@@ -82,7 +82,7 @@ parameters and can be run via the TensorFlow Lite interpreter on the Android ...@@ -82,7 +82,7 @@ parameters and can be run via the TensorFlow Lite interpreter on the Android
device. For a floating point model, run this from the tensorflow/ directory: device. For a floating point model, run this from the tensorflow/ directory:
```shell ```shell
bazel run --config=opt tensorflow/contrib/lite/toco:toco -- \ bazel run -c opt tensorflow/lite/toco:toco -- \
--input_file=$OUTPUT_DIR/tflite_graph.pb \ --input_file=$OUTPUT_DIR/tflite_graph.pb \
--output_file=$OUTPUT_DIR/detect.tflite \ --output_file=$OUTPUT_DIR/detect.tflite \
--input_shapes=1,300,300,3 \ --input_shapes=1,300,300,3 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment