egolearn¶
egolearn is a Python library for training and evaluating visual and image–text models on first-person video. Streaming runs read the video once in chronological order and replay past frames from bounded memory, while offline runs shuffle the whole dataset across epochs. It is developed by the Agentic Learning AI Lab at New York University.
Quickstart¶
You need uv, which installs Python 3.12 and the dependencies. The toy configuration trains a small convolutional network on synthetic colored blocks, on the CPU, without any dataset or pretrained weights.
git clone https://github.com/egolearn/egolearn.git
cd egolearn
uv sync --extra train
uv run egl train toy_streaming dry_run=true
uv run egl train toy_streaming
The dry run builds and checks the whole pipeline, then exits. The training run
prints a loss line every five steps and writes a run record under
runs/toy/records/, but it saves no weights. To train, export and reload a
model, follow the toy export example.
Run uv run egl --help to list the commands, or activate .venv and call
egl directly.
Next steps¶
- First checkpoint evaluation: score a public model on a CPU.
- Command line: configs, overrides, export and data preparation.
- Cluster jobs: submit training to Slurm.
- Status and limitations: what is supported.
Methods¶
| Method | What it trains |
|---|---|
| BabyCL | Visual and verbal representations from SAYCam in one chronological pass |
| Memory Storyboard | Visual representations from a stream, with temporal segmentation |
| MAE and StreamMAE | Image encoders by masked reconstruction, streaming or offline |
| V-JEPA 2 | Video encoders on SAYCam or BabyView |
| KrishnaCam | Visual baselines trained directly from MP4 recordings |
Each method page lists the inputs it needs, and SAYCam and BabyView require Databrary access. The repository itself contains no datasets or checkpoints.
Evaluation¶
egl eval scores a saved model on Labeled-S, BabyView and ImageNet object
recognition, VTWT and Baby Winoground image–text matching, shape bias, spatial
relations, IntPhys 2 and GRASP, while EgoSchema and Ego4D NLQ query a served
vision-language model. The evaluation guide lists each
benchmark and the data it needs. The model catalog
lists the released weights: models trained on KrishnaCam and WalkingTours are
public, and models trained on SAYCam or BabyView require approval.
Citation and contributing¶
Cite the software with CITATION.cff, and cite the method papers for the implementations you use. CONTRIBUTING.md covers development and review, and SECURITY.md covers checkpoint trust and vulnerability reporting.