10-Minute Tour

Welcome to Pixeltable! In this tutorial, we'll survey how to create tables, populate them with data, and enhance them with built-in and user-defined transformations and AI operations.

Tutorials · Notebook · Updated

Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.

What it covers

  • Creating a table
  • Adding computed columns
  • Pixeltable is persistent
  • GPT-4o
  • UDFs: Enhancing Pixeltable's capabilities

What it uses

Install
terminal
pip install torch transformers timm openai pixeltable
Environment variables it names
OPENAI_API_KEY
Pixeltable calls
huggingface.detr_for_object_detection()openai.chat_completions()pxt.create_table()@pxt.udfinsert()add_computed_column()

A look at the code

ten-minute-tour.ipynb
from pixeltable.functions import huggingface
t.add_computed_column(
detections=huggingface.detr_for_object_detection(
t.input_image, model_id='facebook/detr-resnet-50'
)
)

One cell of the notebook, copied as it is. Open it in Colab for the rest.

Browse all 103