Skip to content

The toolkit to test, validate, and evaluate your models and surface, curate, and prioritize the most valuable data for labeling.

License

Notifications You must be signed in to change notification settings

encord-team/encord-active

Repository files navigation

Documentation | Try it Now | Website | Blog | Join our Community

Encord logo

❓ What is Encord Active?

Encord Active is an open-source toolkit to test, validate, and evaluate your models and surface, curate, and prioritize the most valuable data for labeling to supercharge model performance.

Use Encord Active to:

  • Test, validate, and evaluate your models with advanced error analysis
  • Generate model explainability reports
  • Surface, curate, and prioritize the most valuable data for labeling
  • Search through your data using natural language (beta feature)
  • Find and fix dataset errors and biases (duplicates, outliers, label errors)

homepage-visual

Installation

The simplest way to install the CLI is using pip in a suitable virtual environment:

pip install encord-active

We recommend using a virtual environment, such as venv:

python3.9 -m venv ea-venv
source ea-venv/bin/activate
pip install encord-active

encord-active requires python3.9. If you have trouble installing encord-active, you find more detailed instructions on installing it here. If just want to see it in action try out this Colab notebook.

πŸ‘‹ Quickstart

Get started immediately by sourcing your environment and running the code below. This downloads a small dataset and launches the Encord Active App for you to explore:

encord-active quickstart

or you can use :

docker run -it --rm -p 8000:8000 -v ${PWD}:/data encord/encord-active quickstart

After opening the UI, we recommend you to head to the workflow documentation to see some common workflows.

projects page

πŸ’‘ When to use Encord Active?

Encord Active helps you understand and improve your data, labels, and models at all stages of your computer vision journey.

Whether you've just started collecting data, labeled your first batch of samples, or have multiple models in production, Encord Active can help you.

encord active diagram

πŸš€ Encord Active Versions

Encord Active (EA) is available in two versions:

  • Encord Active Cloud πŸŒ₯️
  • Encord Active OS πŸ’»

Active Cloud is tightly integrated with Encord Annotate, with Active Cloud and Annotate being hosted by Encord--you can signup and start using Active without installing anything.

Or self-host and start using the open source toolkit locally ⬇️.

πŸ”– Documentation

Our full documentation is available here. In particular, we recommend checking out:

⬇️ Download a sandbox dataset

Another way to quickly get familiar with Encord Active is to download a dataset from its sandbox. The download command will ask which pre-built dataset to use and will download it into a new directory in the current working directory.

encord-active download
cd /path/of/downloaded/project
encord-active start

The app should then open in the browser. If not, navigate to localhost:8000. Our docs contain more information about what you can see in the page.

Import your dataset

Quick import Dataset

To import your data (without labels) save your data in a directory and run the command:

# within venv
encord-active init /path/to/data/directory

A project will be created using the data in the directory.

To start the project run:

cd /path/to/project
encord-active start

You can find more details on the init command in the documentation.

Import from COCO

To import your data, labels, and predictions from COCO, save your data in a directory and run the command:

# install COCO extras
(ea-venv)$ python -m pip install encord-active[coco]

# import samples with COCO annotations
encord-active import project --coco -i ./images -a ./annotations.json

# import COCO model predictions
encord-active import predictions --coco results.json

Import from the Encord platform

This section requires setting up an ssh key with Encord, so slightly more technical.

To import an Encord project, use this command:

encord-active import project

The command will allow you to search through your Encord projects and choose which one to import.

⭐ Concepts and features

Quality metrics:

Quality metrics are applied to your data, labels, and predictions to assign them quality metric scores. Plug in your own or rely on Encord Active's prebuilt quality metrics. The quality metrics automatically decompose your data, label, and model quality to show you how to improve your model performance from a data-centric perspective. Encord Active ships with 25+ metrics and more are coming; contributions are also very welcome.

Core features:

Visit our documentation to learn more.

Supported data:

Data Types Labels Project sizes
jpg βœ… Bounding Boxes βœ… Images 25.000
png βœ… Polygons βœ… Videos * 25.000 frames
tiff βœ… Segmentations βœ…
mp4 * βœ… Classifications βœ…
Polylines 🟑

* Requires an Encord Annotate account

Active Cloud 🌩️

Don't want to host Encord Active on your server? Or are you loading >25k images for your project? Check out Active Cloud extending features from Encord Active open source to help you:

βœ… Curate datasets better with Collections
βœ… Evaluate models with in-built and custom metrics
βœ… Perform Natural Language Search
βœ… Search your dataset by images
βœ… Integrate with annotation platform
βœ… Filter by metadata

active-cloud

Try it for free

πŸ§‘πŸ½β€πŸ’»Development

πŸ›  Build your own quality metrics

Encord Active is built with customizability in mind. Therefore, you can easily build your own custom metrics πŸ”§. See the Writing Your Own Metric page in the docs for details on this topic.

If you need help or guidance feel free to ping us in our Slack workspace!

πŸ‘ͺ Community and support

Join our community on Slack to connect with the team behind Encord Active. Also, feel free to suggest improvements or report problems via GitHub issues.

πŸŽ‡ Contributions

If you're using Encord Active in your organization, please try to add your company name to the ADOPTERS.md. It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact.

If you want to share your custom metrics or improve the tool, please see our contributing docs.

🦸 Contributors

Contributors graph

@Javi Leguina

BibTeX

@misc{Encord2024,
  author = {Encord},
  title = {Encord Active},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/encord-team/encord-ctive}},
}

Licence

This repository is published under the Apache 2.0 licence.