Skip to content

Working with Voxel51 for Visualization in Pixeltable

Pixeltable can export data directly from tables and views to the popular Voxel51 frontend, providing a way to visualize and explore image and video datasets.

Providers · 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

  • Example 1: An Image Dataset
  • Adding Labels
  • Adding Multiple Label Sets

What it uses

Install
terminal
pip install pixeltable fiftyone torch transformers timm
Pixeltable calls
huggingface.()pxt.create_table()@pxt.udfinsert()add_computed_column()

A look at the code

working-with-fiftyone.ipynb
from pixeltable.functions.huggingface import (
detr_for_object_detection,
vit_for_image_classification,
)
t.add_computed_column(
classifications=vit_for_image_classification(
t.image, model_id='google/vit-base-patch16-224'
)
)
t.add_computed_column(
detections=detr_for_object_detection(
t.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