Run Notebooks#

This guide will show you how to launch and manage OpenVINO™ Notebooks on your machine. Before you proceed, make sure you have followed the installation steps.

Launch a Single Notebook#

If you want to launch only one notebook, such as the Monodepth notebook, run the command below.

jupyter lab notebooks/vision-monodepth/vision-monodepth.ipynb

Launch All Notebooks#

jupyter lab notebooks

In your browser, select a notebook from the file browser in Jupyter Lab, using the left sidebar. Each tutorial is located in a subdirectory within the notebooks directory.

launch-jupyter

Manage the Notebooks#

Shut Down Jupyter Kernel#

To end your Jupyter session, press Ctrl-c. This will prompt you to Shutdown this Jupyter server (y/[n])? enter y and hit Enter.

Deactivate Virtual Environment#

First, make sure you use the terminal window where you activated openvino_env. To deactivate your virtualenv, simply run:

deactivate

This will deactivate your virtual environment.

Reactivate Virtual Environment#

To reactivate your environment, run:

source openvino_env\Scripts\activate
source openvino_env/bin/activate
source openvino_env/bin/activate

Then type jupyter lab or jupyter notebook to launch the notebooks again.

Delete Virtual Environment#

This operation is optional. However, if you want to remove your virtual environment, simply delete the openvino_env directory:

rmdir /s openvino_env
rm -rf openvino_env
rm -rf openvino_env

Remove openvino_env Kernel from Jupyter#

jupyter kernelspec remove openvino_env

If you run into issues, check the Troubleshooting, and FAQs sections or start a GitHub discussion.

Additional Resources#