title: Failed to allocate tensors in tflite
body: <p>I am trying to load a tflite version of a tensorflow implementation of <a href="http://openaccess.thecvf.com/content_cvpr_2017/papers/Zhou_EAST_An_Efficient_CVPR_2017_paper.pdf" rel="nofollow noreferrer">EAST</a>
  text detector with tflite's python interpreter. When I try to allocate the tensors, I get the error:</p>
  
  <pre><code>tensorflow/contrib/lite/kernels/concatenation.cc:75 t-&gt;dims-&gt;data[d] != t0-&gt;dims-&gt;data[d] (45 != 46)
  Node number 78 (CONCATENATION) failed to prepare.
  
  Failed to allocate tensors!
  </code></pre>
  
  <p>I have fixed the size of the model during conversion and I get the error even when keeping the size choosen. Here is a sample of the code that fails:</p>
  
  <pre class="lang-py prettyprint-override"><code>from tensorflow.lite.python.interpreter import Interpreter
  
  model = Interpreter(model_path='frozen_east_text_detection.tflite')
  model.allocate_tensors()
  </code></pre>
  
  <p>Even though I found similar issues on tensorflow's <a href="https://github.com/tensorflow/tensorflow/issues" rel="nofollow noreferrer">github</a>, I can't find any solution, does anyone have a solution? Or at least know what is the cause of the problem?</p>
  
  <p>Thank you in advance.</p>