Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 531 Bytes

File metadata and controls

9 lines (6 loc) · 531 Bytes

6. Debugging

A good friend (Pedro Rodriguez) has written a very good tutorial on how to debug machine learning code. I strongly recommend that you read through his tutorial, as the tips there will save you a lot of future headaches. In this section I'm not aiming to repeat much of what he's said, but instead complement it by explaining in depth how I use debugging tools while working with AllenNLP.

6.1 Your One-stop Shop: pdb

6.2 Logging: When All Else Fails