-
Notifications
You must be signed in to change notification settings - Fork 466
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
Toco not working for Tensorflow 1.9 #68
Comments
Same here if changed --input_files to --graph_def_files then it just shows error: |
Try this one
|
It works for me @tigrandev |
@PoojaB26 You can close the Issue if you want. |
@SagarSharma4244 I'll try it out, thanks. |
@tigrandev what is the value of input_shape |
Ubuntu : 16.0.4
Tensorflow : 1.9
I was trying the last step in this codelab ->
https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2-tflite/index.html#2
toco \ --input_file=tf_files/retrained_graph.pb \ --output_file=tf_files/optimized_graph.lite \ --input_format=TENSORFLOW_GRAPHDEF \ --output_format=TFLITE \ --input_shape=1,${IMAGE_SIZE},${IMAGE_SIZE},3 \ --input_array=input \ --output_array=final_result \ --inference_type=FLOAT \ --input_data_type=FLOAT
And this would throw an error:
--graph_def_file, --saved_model_dir is required.
Read another issue where TOCO doesnt work for 1.8, I guess the issue is still not resolved for 1.9
Works fine with 1.7 though.
The text was updated successfully, but these errors were encountered: