title: connect h5fy weight have an error
body: <p><a href="https://i.stack.imgur.com/hhbph.png" rel="nofollow noreferrer">the first</a></p>
  
  <p><a href="https://i.stack.imgur.com/oBvFS.png" rel="nofollow noreferrer">the second</a></p>
  
  <p>the errors:</p>
  
  <pre><code>  File "merge.py", line 48, in &lt;module&gt;
      model.fit(X_train, y_train, batch_size=128, nb_epoch=1, validation_split=0.2)
    File "/home/ngxin/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 1117, in fit
      batch_size=batch_size)
    File "/home/ngxin/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 1034, in _standardize_user_data
      exception_prefix='model target')
    File "/home/ngxin/anaconda2/lib/python2.7/site-packages/keras/engine/training.py", line 112, in standardize_input_data
      str(array.shape))
  ValueError: Error when checking model target: expected dense_1 to have 4 dimensions, but got array with shape (31000, 1)
  </code></pre>
  
  <p>thank you</p>