title: In Keras model fit which parameters can tell whether Data is wrong or model is not good
body: <p>I am training a simple model in keras for label classification task with following code. 
  This dataset has 5 classes so final layer of the network has 5 outputs. 
  Labels are also one-hot encoded. Here are my results:</p>
  
  <pre><code>32/4000 [..............................] - ETA: 0s - loss: 0.2264 - acc: 
  0.8750
  2176/4000 [===============&gt;..............] - ETA: 0s - loss: 0.3092 - acc: 
  0.8755
  4000/4000 [==============================] - 0s 26us/step - loss: 0.2870 - 
  acc: 0.8805 - val_loss: 15.9636 - val_acc: 0.0070
  Epoch 99/100
  
  32/4000 [..............................] - ETA: 0s - loss: 0.1408 - acc: 
  0.9688
  2176/4000 [===============&gt;..............] - ETA: 0s - loss: 0.2696 - acc: 
  0.8824
  4000/4000 [==============================] - 0s 25us/step - loss: 0.2729 - 
  acc: 0.8868 - val_loss: 15.9731 - val_acc: 0.0070
  Epoch 100/100
  
  32/4000 [..............................] - ETA: 0s - loss: 0.2299 - acc: 
  0.9375
  2176/4000 [===============&gt;..............] - ETA: 0s - loss: 0.2861 - acc: 
  0.8787
  4000/4000 [==============================] - 0s 25us/step - loss: 0.2763 - 
  acc: 0.8865 - val_loss: 15.9791 - val_acc: 0.0070
  
   10/1000 [..............................] - ETA: 0s
   1000/1000 [==============================] - 0s 26us/step
  
   32/5000 [..............................] - ETA: 0s
   5000/5000 [==============================] - 0s 9us/step
  </code></pre>
  
  <p>When do tests at the end of training I get almost 100% error on the test data
  I have looked at many related posts, but could not figure out what is wrong, but no luck.</p>
  
  <p>Any advice ?</p>