This plugin allows you to "traverse" the concept space of a similarity index by adding text prompts (with configurable strength) to a base image.
Note: This plugin requires a similarity index that supports prompts (i.e. embeds text and images) to be present on the dataset. You can create one with:
import fiftyone as fo
import fiftyone.brain as fob
dataset = fo.load_dataset("my_dataset")
fob.compute_similarity(
dataset,
brain_key="my_brain_key",
model="clip-vit-base32-torch",
metric="cosine",
)
fiftyone plugins download https://github.com/jacobmarks/concept-space-traversal-plugin
Refer to the main README for more information about managing downloaded plugins and developing plugins locally.
- Opens the concept space traversal panel on click
- Only activated when the dataset has a similarity index
- Runs the Traverser on the dataset
- Returns the resource URL of the media file associated with a sample, from the sample's ID.
This plugin was a joint creation between myself and Ibrahim Manjra. Couldn't have done it without his JavaScript wizardry!