pip install --upgrade“ tensorflow == 1.7。*” pip install PILLOW

时间:2019-02-19 12:13:51

标签: tensorflow

tflite_convert --graph_def_file=tf_files/retrained_graph.pb   --output_file=tf_files/optimized_graph.lite --input_format=TENSORFLOW_GRAPHDEF  --output_format=TFLITE   --input_shape=1,224,224,3 --input_array=input   --output_array=final_result  --inference_type=FLOAT  --input_data_type=FLOAT
Traceback (most recent call last):
  File "c:\program files\python 3.5\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python 3.5\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python 3.5\Scripts\tflite_convert.exe\__main__.py", line 5, in <module>
ImportError: No module named 'tensorflow.contrib.lite.python.tflite_convert'

0 个答案:

没有答案