FiftyOne
FiftyOne is an open-source tool for building high-quality datasets and computer vision models. It enables users to visualize datasets, analyze models, and improve data quality more efficiently. The library is currently at version 1.14.1 and maintains a rapid release cadence with frequent minor updates.
Warnings
- breaking Downgrading FiftyOne versions can lead to database corruption or errors if not handled correctly.
- gotcha By default, FiftyOne datasets are non-persistent and are deleted from the database when all Python sessions importing FiftyOne are exited.
- gotcha Changes made to individual samples (e.g., adding labels) or certain dataset-level fields (like `info` or `classes` in-place) are not automatically saved to the database.
- deprecated Support for Python 3.9 is ending.
- deprecated Support for MongoDB 6.0 is ending. Older versions (4.4, 5.0) are already unsupported.
Install
-
pip install fiftyone
Imports
- fiftyone
import fiftyone as fo
- fiftyone.zoo
import fiftyone.zoo as foz
Quickstart
import fiftyone as fo
import fiftyone.zoo as foz
# Load a small dataset from the FiftyOne Dataset Zoo
dataset = foz.load_zoo_dataset("quickstart")
# Launch the FiftyOne App to visualize the dataset
session = fo.launch_app(dataset)
# For scripts, use session.wait() to block execution until the App is closed
# session.wait()