title: How to create caffe.deploy from train.prototxt
body: <p>This is my <a href="https://bpaste.net/show/ffb4600d4071" rel="noreferrer">train.prototxt</a>. And this is my <a href="https://bpaste.net/show/39e1064bc386" rel="noreferrer">deploy.prototxt</a>.</p>
  
  <p>When I want to load my deploy file I get this error:</p>
  
  <blockquote>
  <pre><code>File "./python/caffe/classifier.py", line 29, in __init__  
  in_ = self.inputs[0]  
  IndexError: list index out of range  
  </code></pre>
  </blockquote>
  
  <p>So, I removed the data layer:</p>
  
  <blockquote>
  <pre><code>F1117 23:16:09.485153 21910 insert_splits.cpp:35] Unknown bottom blob 'data' (layer 'conv1', bottom index 0)
  *** Check failure stack trace: ***
  </code></pre>
  </blockquote>
  
  <p>Than, I removed <code>bottom: "data"</code> from conv1 layer.</p>
  
  <p>After it, I got this error:</p>
  
  <blockquote>
  <pre><code>F1117 23:17:15.363919 21935 insert_splits.cpp:35] Unknown bottom blob 'label' (layer 'loss', bottom index 1)
  *** Check failure stack trace: ***
  </code></pre>
  </blockquote>
  
  <p>I removed <code>bottom: "label"</code> from loss layer. And I got this error:</p>
  
  <blockquote>
  <pre><code>I1117 23:19:11.171021 21962 layer_factory.hpp:76] Creating layer conv1
  I1117 23:19:11.171036 21962 net.cpp:110] Creating Layer conv1
  I1117 23:19:11.171041 21962 net.cpp:433] conv1 -&gt; conv1
  F1117 23:19:11.171061 21962 layer.hpp:379] Check failed: MinBottomBlobs() &lt;= bottom.size() (1 vs. 0) Convolution Layer takes at least 1 bottom blob(s) as input.
  *** Check failure stack trace: ***
  </code></pre>
  </blockquote>
  
  <p>What should I do to fix it and create my deploy file?</p>