title: Load a pb model file into TensorFlowSharp
body: <p>I have some Keras experience and am learning TensorFlowSharp (<a href="https://github.com/migueldeicaza/TensorFlowSharp" rel="nofollow noreferrer">https://github.com/migueldeicaza/TensorFlowSharp</a>). Using the ExampleInceptionInference project, I want to use a model I trained in my Keras python code. </p>
  
  <p>(I have created a .pb file using @jdehesa reply here: <a href="https://stackoverflow.com/questions/45466020/how-to-export-keras-h5-to-tensorflow-pb">How to export Keras .h5 to tensorflow .pb?</a>)</p>
  
  <p>When I load the .pb model file in TensorFlowSharp, this line fails:</p>
  
  <pre><code>runner.AddInput (graph ["input"] [0], tensor).Fetch (graph ["output"] [0]);
  </code></pre>
  
  <p>It seems that graph <code>["input"]</code> and graph <code>["output"]</code> are both null.
  Do I need to name the layers in my model perhaps? </p>
  
  <p>The Keras model I am using is a modified and retrained version of VGG16. </p>
  
  <p>Is it possible to output a list of named layers in TensorFlowSharp? Or is it possible to reference them in some other way? (by number?)</p>