FiftyOne DB

1.4.1 · active · verified Thu Apr 16

FiftyOne DB is the underlying database backend component for the FiftyOne computer vision framework, storing metadata about datasets and samples. It primarily relies on MongoDB. The current PyPI version is 1.4.1. While `fiftyone-db` is a specific PyPI package, it acts as an internal dependency for the main `fiftyone` library, which has a rapid release cadence (e.g., currently at `1.14.x`). Users typically interact with the database layer through the `fiftyone` package itself.

Common errors

Warnings

Install

Imports

Quickstart

The `fiftyone-db` package is an internal component. User interaction typically happens through the main `fiftyone` library. This quickstart demonstrates loading a dataset and launching the FiftyOne App, which utilizes `fiftyone-db` under the hood.

import fiftyone as fo
import fiftyone.zoo as foz

# A quickstart for the main FiftyOne library, which implicitly uses fiftyone-db
dataset = foz.load_zoo_dataset("quickstart")
session = fo.launch_app(dataset)
session.wait() # Blocks execution until the App is closed if run in a script

view raw JSON →