Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython Notebook Multiple Checkpoints

I see that IPython Notebook has a menu item: File > Revert to Checkpoint, but this never contains more than a single entry for any of my notebooks.

Is there a way to allow this menu to hold multiple checkpoints? I can't find documentation about how to do this anywhere on the web. Thanks.

Also, I put in the green box as a highlight.

image showing only a single entry to 'Revert to Checkpoint' list.

like image 293
zbinsd Avatar asked Oct 02 '13 16:10

zbinsd


People also ask

How do you use checkpoints in Jupyter notebook?

By default, Jupyter will autosave your notebook every 120 seconds to this checkpoint file without altering your primary notebook file. When you “Save and Checkpoint,” both the notebook and checkpoint files are updated. Hence, the checkpoint enables you to recover your unsaved work in the event of an unexpected issue.

Where are Jupyter notebook checkpoints?

As a side note, the checkpoint file is located within a hidden folder named . ipynb_checkpoints . This folder is located within the same folder as the initial . ipynb file.

How do I go back to the last checkpoint in Jupyter notebook?

Jupyter will save checkpoints of your notebook from time to time, and if you realize you need to revert your whole file back to an earlier version, you can do that with the “Revert to Checkpoint” button.


1 Answers

Bookstore (post on rackspace) is the only storage backend that supports multiple checkpoints for now. We hope that someone will write a git backend at some point. It will just not come from the core team soon.

If you are motivated to do so, we'll be happy to give you pointers.

like image 114
Matt Avatar answered Sep 23 '22 02:09

Matt