title: Tensorflow: How to convert .meta, .data and .index model files into one graph.pb file
body: <p>In tensorflow the training from the scratch produced following 6 files:</p>
  
  <blockquote>
    <ol>
    <li>events.out.tfevents.1503494436.06L7-BRM738 </li>
    <li>model.ckpt-22480.meta </li>
    <li>checkpoint </li>
    <li>model.ckpt-22480.data-00000-of-00001 </li>
    <li>model.ckpt-22480.index </li>
    <li>graph.pbtxt</li>
    </ol>
  </blockquote>
  
  <p>I would like to convert them (or only the needed ones) into one file <strong>graph.pb</strong> to be able to transfer it to my Android application.</p>
  
  <p>I tried the script <code>freeze_graph.py</code> but it requires as an input already the <strong>input.pb</strong> file which I do not have. (I have only these 6 files mentioned before). How to proceed to get this one <strong>freezed_graph.pb</strong> file? I saw several threads but none was working for me.</p>