Interactive Tutorials (Python)

This collection of Python tutorials are written for running on Jupyter notebooks. The tutorials provide an introduction to the OpenVINO™ toolkit and explain how to use the Python API and tools for optimized deep learning inference. You can run the code one section at a time to see how to integrate your application with OpenVINO libraries.

Notebooks with Binder button and Google Colab button buttons can be run without installing anything. Once you have found the tutorial of your interest, just click the button next to its name and the Jupyter notebook will start it in a new tab of a browser.

Note

Binder and Google Colab are free online services with limited resources. For the best performance and more control, you should run the notebooks locally. Follow the Installation Guide in order to get information on how to run and manage the notebooks on your machine.

More examples along with additional details regarding OpenVINO Notebooks are available in OpenVINO™ Notebooks Github Repository.

The Jupyter notebooks are categorized into following classes:

Below you will find a selection of recommended tutorials that demonstrate inference on a particular model. These tutorials are guaranteed to provide a great experience with inference in OpenVINO:

moment.gif

Frame interpolation using FILM and OpenVINO.

269-film-slowmo

Github
notebook_eye.png

Table Question Answering using TAPAS and OpenVINO.

268-table-question-answering

GithubColab
notebook_eye.png

Automatic speech recognition using Distil-Whisper and OpenVINO.

267-distil-whisper-asr

Github
notebook_eye.png

Text Generation via Speculative Sampling, KV Caching, and OpenVINO.

266-speculative-sampling

Github
277724498-6917c558-d74c-4cc9-b81a-679ce0a299ee.png

Image generation with Würstchen and OpenVINO.

265-wuerstchen-image-generation

Github
278011447-1a5978c6-e7a0-4824-9318-a3d8f4912c47.png

Generate creative QR codes with ControlNet QR Code Monster and OpenVINO.

264-qrcode-monster

Github
277367065-13a8f622-8ea7-4d12-b3f8-241d4499305e.png

Image generation with Latent Consistency Model and OpenVINO.

263-latent-consistency-models-image-generation

Github
notebook_eye.png

SoftVC VITS Singing Voice Conversion and OpenVINO.

262-softvc-voice-conversion

Github
248551984-d98f0f6d-7535-45d0-b380-2e1440b52ad7.jpg

Object segmentation with FastSAM and OpenVINO.

261-fast-segment-anything

GithubBinderColab
274927904-cd734349-9954-4656-ab96-08a903e846ef.png

Image generation with DeciDiffusion and OpenVINO.

259-decidiffusion-image-generation

Github
275485611-0ecf621f-b544-44ae-8258-8a49be704989.png

Subject-driven image generation and editing using BLIP Diffusion and OpenVINO.

258-blip-diffusion-subject-generation

Github
llava_logo.png

Visual-language assistant with LLaVA and OpenVINO.

257-llava-multimodal-chatbot

Github
269278630-9a770279-0045-480e-95f2-1a2f2d0a5115.png

Text-to-speech generation using Bark and OpenVINO.

256-bark-text-to-audio

Github
notebook_eye.png

Create an LLM-powered Chatbot using OpenVINO.

254-llm-chatbot

Github
68747470733a2f2f68756767696e67666163652e636f2f64617461736574732f68756767696e67666163652f646f63756d656e746174696f6e2d696d616765732f7265736f6c76652f6d61696e2f6469666675736572732f646172746876616465725f63657270656e73652e676966

Video generation with ZeroScope and OpenVINO.

253-zeroscope-text2video

Github
260904650-274fc2f9-24d2-46a3-ac3d-d660ec3c9a19.png

Image Generation with Tiny-SD and OpenVINO.

251-tiny-sd-image-generation

GithubColab

Note

If there are any issues while running the notebooks, refer to the Troubleshooting and FAQ sections in the Installation Guide or start a GitHub discussion.