Skip to content

Instantly share code, notes, and snippets.

@fabsta
Last active December 15, 2017 08:40
Show Gist options
  • Save fabsta/ef93a7f398c3cbdbe9c9fdc9a1f6805b to your computer and use it in GitHub Desktop.
Save fabsta/ef93a7f398c3cbdbe9c9fdc9a1f6805b to your computer and use it in GitHub Desktop.
Jupyter useful stuff #jupyter
from IPython.display import FileLink
FileLink("KerasInceptionXception0.47.csv")

You can always add this in any cell:

import pdb; pdb.set_trace()

and the debugger will stop on that line. For example:

In[1]: def fun1(a):
           def fun2(a):
               import pdb; pdb.set_trace() # debugging starts here
           return fun2(a)

In[2]: fun1(1)

callback

params ={'verbose':0, 'callbacks':[TQDMNotebookCallback(leave_inner=True)]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment