Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: active project export data #680

Merged
merged 6 commits into from
Jan 16, 2024

Conversation

frederik-encord
Copy link
Contributor

@frederik-encord frederik-encord commented Dec 5, 2023

An example of how to use the Active dataset.
Note that you can choose to include data URIs.

from pathlib import Path


from encord_active.public.active_project import ActiveProject
db_path = Path("fruits_only/encord-active.sqlite")

project = ActiveProject.from_db_file(db_path, project_name="Fruits [Workflow]")

print(project.ontology)
image_metrics = project.get_images_metrics(include_data_uris=True, include_data_tags=True)
print(image_metrics.describe())

preds = project.get_prediction_metrics(include_data_uris=True, include_data_tags=True)
print(preds.describe())

@frederik-encord frederik-encord requested a review from a team as a code owner December 5, 2023 19:05
@frederik-encord frederik-encord merged commit b4f46ff into main Jan 16, 2024
1 check passed
@frederik-encord frederik-encord deleted the feat/active-project-export-data branch January 16, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants