How to debug Pytorch/Deep Learning in VSCode

Debugging a PyTorch Script in Jupyter Notebook Here is a youtube guide video! Open the Notebook: Open your .ipynb file directly in VSCode. Insert Breakpoints: In the margin next to the cell numbers, click to set breakpoints. Start the Jupyter Server: If you haven’t already, start the Jupyter server by running a cell. Run the Cell in Debug Mode: Right-click on the cell with a breakpoint and select “Debug Cell” from the context menu....

October 5, 2023 · 1 min · Andrew Siah