Debugging ML Models: Difference between revisions

Line 11: Line 11:
* Dump all inputs and outputs into [[TensorBoard]]. You may have an unexpected input or output somewhere.
* Dump all inputs and outputs into [[TensorBoard]]. You may have an unexpected input or output somewhere.
* Make sure there is no activation on the final layer.
* Make sure there is no activation on the final layer.
* If the loss is unstable or increasing, drop the learning rate to <code>O(1e-3)</code> or <code>O(1e-4)</code>.


==Underfitting==
==Underfitting==