mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-26 18:17:44 +00:00
Small edits (#724)
This commit is contained in:
@@ -26,7 +26,7 @@ In the UI, you can view the mapping in a dataset version's [Metadata](webapp/web
|
||||
|
||||

|
||||
|
||||
When viewing a frame with a mask corresponding with the version’s mask-label mapping, the UI arbitrarily assigns a color
|
||||
When viewing a frame with a mask corresponding with the version's mask-label mapping, the UI arbitrarily assigns a color
|
||||
to each label. The color assignment can be [customized](webapp/webapp_datasets_frames.md#labels).
|
||||
|
||||
For example:
|
||||
@@ -34,7 +34,7 @@ For example:
|
||||
|
||||

|
||||
|
||||
* Frame image with the semantic segmentation mask enabled. Labels are applied according to the dataset version’s
|
||||
* Frame image with the semantic segmentation mask enabled. Labels are applied according to the dataset version's
|
||||
mask-label mapping:
|
||||
|
||||

|
||||
@@ -66,7 +66,7 @@ The frame's sources array contains a masks list of dictionaries that looks somet
|
||||
}
|
||||
```
|
||||
|
||||
The masks dictionary includes the frame's masks’ URIs and IDs.
|
||||
The masks dictionary includes the frame's masks' URIs and IDs.
|
||||
|
||||
## Alpha Channel Masks
|
||||
For alpha channel, mask RGB pixel values are interpreted as opacity values so that when the mask is applied, only the
|
||||
@@ -133,10 +133,10 @@ version.set_masks_labels(
|
||||
)
|
||||
```
|
||||
|
||||
The relevant label is applied to all masks in the version according to the version’s mask-label mapping dictionary.
|
||||
The relevant label is applied to all masks in the version according to the version's mask-label mapping dictionary.
|
||||
|
||||
### Registering Frames with Multiple Masks
|
||||
Frames can contain multiple masks. To add multiple masks, use the SingleFrame’s `masks_source` property. Input one of
|
||||
Frames can contain multiple masks. To add multiple masks, use the SingleFrame's `masks_source` property. Input one of
|
||||
the following:
|
||||
* A dictionary with mask string ID keys and mask URI values
|
||||
* A list of mask URIs. Number IDs are automatically assigned to the masks ("00", "01", etc.)
|
||||
|
||||
Reference in New Issue
Block a user