The FiftyOne Brain extends the FiftyOne ecosystem with powerful machine learning capabilities for data curation and model analysis. It provides features like visual similarity search, text-based querying, finding unique and representative samples, detecting media quality issues, and identifying annotation mistakes. The library is actively developed, with frequent releases.
pip install fiftyone-brainVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to load a dataset, compute a low-dimensional visualization of its embeddings using UMAP, and then compute a visual similarity index, which are core functionalities of FiftyOne Brain. The visualization can then be explored interactively in the FiftyOne App.
Before re-running, either delete the existing run with `dataset.delete_brain_run("your_brain_key")` or provide a new, unique `brain_key`.Install the `umap-learn` library: `pip install umap-learn`.
Upgrade `fiftyone-brain` to v0.21.4 or newer, or ensure `scikit-learn` is at least 1.7.0 if using an older `fiftyone-brain` version.
Always provide a descriptive `brain_key` when calling `compute_visualization`, `compute_similarity`, etc., to ensure the results are saved and accessible.
Check the FiftyOne documentation for specific model requirements. Often, `pip install fiftyone-embeddings` or related model-specific packages are needed.