Export data for ML training
Convert Pixeltable data to PyTorch DataLoader format for model training.
Updated Open in Colab
When Pixeltable generates media files (thumbnails, extracted frames, processed images), by default it stores them locally.
Data Import/Export · 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.
pip install pixeltable
net.presigned_url()pxt.create_table()insert()add_computed_column()# Add computed column with no destination specified - uses defaultt.add_computed_column(flipped=t.source_image.transpose(0), if_exists='replace')
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Convert Pixeltable data to PyTorch DataLoader format for model training.
Send and receive data from PostgreSQL, SQLite, MySQL, TigerData, or Snowflake for use in external applications.
Export Pixeltable tables and queries to CSV, JSON, and Apache Iceberg for spreadsheets, scripts, and the lakehouse.
Create training, validation, and test splits with random or stratified sampling.