title: IndexError: index 149 is out of bounds for axis 0 with size 149
body: <p>I have searched about the following error but could not find the correct solution. The error occurred in the below code.</p>
  
  <pre><code>inputs=numpy.zeros((features,128),'f')
  offset = 0
  for index in range(len(seqTags)):
      d=rawInputs[index]
      w,h=d.shape
      for i in range(90):
              inputs[offset,:]=d[i,:]
              offset+=1
  
  //The varriable i runs 90 times correctly when index= 0.
  //When index =1 and i=59 it stuck with this error.
  // The seqTags= number of files
  </code></pre>
  
  <p>ERROR:</p>
  
  <pre><code>inputs[offset,:]=d[i,:]
  
  IndexError: index 149 is out of bounds for axis 0 with size 149
  </code></pre>
  
  <p>Any help would be highly appreciated ! </p>