Using TensorFlow backend.
2018-08-30 20:26:09.136414: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
(?, 32, 280, 1)
(?, 35, 5990)
(?, 32, 280, 1)
(?, 35, 5990)
WARNING:tensorflow:From /home/huangwei/.local/lib/python3.5/site-packages/tensorflow/python/ops/init_ops.py:86: calling VarianceScaling.init (from tensorflow.python.ops.init_ops) with distribution=normal is deprecated and will be removed in a future version.
Instructions for updating:
normal is a deprecated alias for truncated_normal
WARNING:tensorflow:No training configuration found in save file: the model was not compiled. Compile it manually.
Traceback (most recent call last):
File "1.py", line 15, in
tflite_model = converter.convert()
File "/home/huangwei/.local/lib/python3.5/site-packages/tensorflow/contrib/lite/python/lite.py", line 394, in convert
"invalid shape '{1}'.".format(_tensor_name(tensor), shape))
ValueError: None is only supported in the 1st dimension. Tensor 'the_input' has invalid shape '[None, 32, None, 1]'.
Using TensorFlow backend.
2018-08-30 20:26:09.136414: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
(?, 32, 280, 1)
(?, 35, 5990)
(?, 32, 280, 1)
(?, 35, 5990)
WARNING:tensorflow:From /home/huangwei/.local/lib/python3.5/site-packages/tensorflow/python/ops/init_ops.py:86: calling VarianceScaling.init (from tensorflow.python.ops.init_ops) with distribution=normal is deprecated and will be removed in a future version.
Instructions for updating:
normalis a deprecated alias fortruncated_normalWARNING:tensorflow:No training configuration found in save file: the model was not compiled. Compile it manually.
Traceback (most recent call last):
File "1.py", line 15, in
tflite_model = converter.convert()
File "/home/huangwei/.local/lib/python3.5/site-packages/tensorflow/contrib/lite/python/lite.py", line 394, in convert
"invalid shape '{1}'.".format(_tensor_name(tensor), shape))
ValueError: None is only supported in the 1st dimension. Tensor 'the_input' has invalid shape '[None, 32, None, 1]'.