A plugin that enables users to visualize Rerun data files
(.rrd) inside the FiftyOne App.
Prebuilt plugin artifacts are published on the repository's GitHub Releases page. Each release includes a zip file named like:
fiftyone-rerun-plugin-<version>.zip
The zip contains:
dist/(the built plugin bundle)fiftyone.yaml(plugin metadata with the matching plugin version)
Version coupling:
- Plugin release version
vX.Y.Zis paired with@rerun-io/web-viewer^X.Y.Z - Choose a plugin release that matches the Rerun web viewer version you want to use.
To build a versioned plugin artifact locally:
./scripts/build-release-local.sh 0.29.2This produces:
dist_artifacts/fiftyone-rerun-plugin-0.29.2/
To also generate a zip:
./scripts/build-release-local.sh --zip 0.29.2This additionally produces:
dist/fiftyone-rerun-plugin-0.29.2.zip
Samples with a fiftyone.utils.rerun.RrdFile field will enable the Rerun panel in the sample modal view. To open the panel, click on a sample to open the modal, then click the "+" button at the top and select "Rerun".
Install the required dependencies:
pip install nuscenes-devkit rerun-sdk open3d matplotlib PillowWe have a Python script in the examples folder that:
- Creates RRD files with a timeline containing lidar points of each scene in the NuScenes mini dataset
- Creates a grouped FiftyOne dataset with all camera images, lidar, radar, as well as references to the RRD files from (1)
Before you run the script, make sure you have the NuScenes mini split dataset downloaded and extracted. You can download it from here.
After downloading, extract the dataset to a folder. You'll need the path of the extracted dataset to run the script.
# download the NuScenes mini dataset
wget https://www.nuscenes.org/data/v1.0-mini.tgz
# extract the dataset to a folder named nuscenes-mini
tar -xvf v1.0-mini.tgzRun the script to prepare the dataset:
# show help
python examples/load-nuscenes.py -h
# create rrd files as well as create a fiftyone dataset with references to the RRD files
python examples/load-nuscenes.py --nuscenes-data-dir /path/to/nuscenes --rrd --fiftyoneThen launch the App:
# start fiftyone app
fiftyone app launch