Tagging system

A Deployment accumulates production images continuously, and the ones worth acting on, such as a batch to investigate, the predictions you already checked, or the images of a known failure mode, are rarely retrievable from their Metadata alone. Like the Data of a Datalake (detailed here) and the Asset of a DatasetVersion (detailed here), the PredictedAsset of a Deployment has its own tagging system, which works the same way.

1. Introducing PredictedAssetTag

A tag is an object you can name and attach to one or more Picsellia objects, mainly to structure them and retrieve them easily. As there are tagging systems related to different objects on Picsellia (Datalake, DatasetVersion, Deployment...), any tag related to a Deployment is called a PredictedAssetTag.

Any PredictedAsset can have as many PredictedAssetTag attached to it as you need. This lets you build your own structure on top of what your ModelVersion predicts in production: for instance to-investigate, false-positive, or night to isolate a failure mode and measure how often it comes back.

Each Deployment has its own independent tagging system: a PredictedAssetTag created on one Deployment is not shared with the other ones, nor with the DataTag of the underlying Datalake or the AssetTag of a DatasetVersion. Attaching or detaching one never affects the others.

🚧

A PredictedAssetTag is not a Label or a Prediction

It is only a tool to help you organize your PredictedAsset in Picsellia. It does not change the Prediction itself.

2. Creating, Editing, and Deleting PredictedAssetTag

To create, modify, or remove a PredictedAssetTag, open the Settings tab of your Deployment and go to the Tags page, listed right under General. It lists the PredictedAssetTag of the Deployment with their description, with a search field to find one, and displays No predicted asset tags created as long as you have not created any.

To create a new one, click on + Add new predicted asset tag. This adds an entry to the list, where you provide a name and a description, and confirm with the check button (or cancel with the cross). Each PredictedAssetTag gets its own color.

You can also change the name and the description of an existing PredictedAssetTag with the pencil icon at the end of its row, or delete it: tick it, click on the trash icon above the list, and confirm.

❗️

Deleting a PredictedAssetTag cannot be undone

Deleting a PredictedAssetTag also deletes all its links with the PredictedAsset it was attached to. To remove a tag from some PredictedAsset only, detach it, as detailed below.

3. Attach PredictedAssetTag to your PredictedAsset

From the Predictions tab, select the PredictedAsset to tag, from any view, as detailed in Predictions overview. An action bar appears above the list: click on Tag, then on Attach.

In the Attach tags modal, search or click on the PredictedAssetTag to attach to the selection among the existing ones, and confirm with Attach. Selecting every tag at once covers all your tags, not only the ones already loaded in the list.

You can also create a new PredictedAssetTag from this modal, in the Create new tag area at the bottom, so you do not have to go through the Settings when you realize a tag is missing.

4. Visualize PredictedAssetTag on your PredictedAsset

You can visualize the PredictedAssetTag attached to a PredictedAsset from the Details view, in the Predicted Asset Tags field of the properties panel. The Table view does not display them: to list the PredictedAsset that carry a tag, use the filter described below.

5. Search PredictedAsset by PredictedAssetTag

Two ways let you keep only the PredictedAsset you are interested in.

A. With the Select Tags filter

Above the list, the Select Tags button filters the PredictedAsset on their PredictedAssetTag without writing any query. It works the same way as on the Asset of a DatasetVersion, detailed here: search or tick the tags you want, and choose how they are combined:

  • AND keeps the PredictedAsset that carry all the selected PredictedAssetTag.
  • OR keeps the PredictedAsset that carry at least one of them.
  • NOT keeps the PredictedAsset that carry none of them. If you tag the images you have already investigated, selecting that tag with NOT lists the ones you still have to look at.

The button then displays the active filter (With and the name of the tag), the number of PredictedAsset displayed above the list follows the filter, and the filter can be combined with the other ones of the Predictions tab.

Once the list displays what you expect, select the PredictedAsset and act on them with the action bar: tag them differently, submit the reviewed ones to the Feedback Loop, or delete them.

B. From the Details view

Clicking one of the tags displayed in the Details view filters the list on it directly, which is the quickest way to go from the PredictedAsset you are looking at to every other one that shares its tag: the Select Tags filter is filled for you.

6. Detach PredictedAssetTag

To detach one or several PredictedAssetTag from a batch of PredictedAsset, select them and click on Tag, then on Detach. A modal lists all the PredictedAssetTag attached to any of the selected PredictedAsset: click on the ones to detach, then on the Detach button. Detached PredictedAssetTag are not deleted, and you can attach them again.


Did this page help you?