title: Tflearn Input shape error
body: <p><strong>Error</strong></p>
  
  <blockquote>
    <p>"Cannot feed value of shape (128, 1) for Tensor 'TargetsData/Y:0',
    which has shape '(?,)'".</p>
  </blockquote>
  
  <p><strong>Code</strong></p>
  
  <p>I have 4 classes and vocab consists of words 17355.</p>
  
  <pre><code>tf.reset_default_graph()
  net = tflearn.input_data(shape=(None,trainX.shape[1]),name='input')
  net = tflearn.fully_connected(net, 200, activation='ReLU')
  net = tflearn.fully_connected(net, 25, activation='ReLU')
  net = tflearn.fully_connected(net, 4, activation='softmax')
  net = tflearn.regression(net, optimizer='sgd', 
                           learning_rate=0.1, 
                           to_one_hot = True,n_classes =4,
                           loss='categorical_crossentropy')
  
  model = tflearn.DNN(net)
  model.fit(trainX, trainY, validation_set=0.1, show_metric=True, batch_size=128, n_epoch=100)
  </code></pre>
  
  <p>trainX.shape = 12384,17355 , trainY.shape = 12384,1 , testX.shape = 1376,17355 , testY.shape = 1376,1</p>