Reproducing uploaded notebooks¶
A uploaded notebook on Jovian can be reproduced in any other machine. Follow the below procedure to do reproduce the notebook in your machine.
Visit the link of the uploaded notebook.
Click on the
Clonebutton, which copies the clone cli command (along with the notebook_id) to the clipboard.
Paste the command in the terminal, in the directory where you want to clone the notebook project and then run the command.
The copied command will be of the the following format
jovian clone <notebook_id>
Jovian captures the original python environment of the notebook, which make it easier to reproduce the notebook by installing all the required dependencies. The following commands uses conda to install all the required packages, make sure that conda is installed.
Once the notebook is cloned, it would have created a folder with the name of the notebook. Move to that directory.
The above command prompts for a virtual environment name where it will install all the required packages. By default it will have the original environment name in the square brackets, just click
enter key to retain the name else specify the environment name.
In this way, Jovian seamlessly ensures the end-to-end reproducibility of your Jupyter notebooks across different operating systems.
You have to own the notebook or have to be a collaborator to commit changes to the same project notebook. If not you can commit any changes made to your profile as a new notebook.
If changes are made after you have cloned the notebook by any of the collaborator.
You can use
pull to get all those changes.
Move to the cloned directory and run
Beware any uncommitted changes will be lost during the process of
jovian.pull. When you pull the notebook it will be a duplicate of the latest version of the notebook on Jovian.