|
@@ -24,12 +24,13 @@ labelme data_annotated --labels labels.txt --nodata
|
|
Fig 1. JPEG image (left), JPEG class label visualization (center), JPEG instance label visualization (right)
|
|
Fig 1. JPEG image (left), JPEG class label visualization (center), JPEG instance label visualization (right)
|
|
|
|
|
|
|
|
|
|
-Note that the reason why the label file is mostly black is it contains only very low label values (ex. `-1, 0, 4, 14`).
|
|
|
|
|
|
+Note that the reason why the label file is mostly black is it contains only very low label values (ex. `0, 4, 14`), and
|
|
|
|
+`255` indicates the `__ignore__` label value (`-1` in the npy file).
|
|
You can see the label PNG file by following.
|
|
You can see the label PNG file by following.
|
|
|
|
|
|
```bash
|
|
```bash
|
|
-labelme_draw_label_png data_dataset_voc/SegmentationClass/2011_000003.png # left
|
|
|
|
-labelme_draw_label_png data_dataset_voc/SegmentationObject/2011_000003.png # right
|
|
|
|
|
|
+labelme_draw_label_png data_dataset_voc/SegmentationClassPNG/2011_000003.png # left
|
|
|
|
+labelme_draw_label_png data_dataset_voc/SegmentationObjectPNG/2011_000003.png # right
|
|
```
|
|
```
|
|
|
|
|
|
<img src=".readme/draw_label_png_class.jpg" width="33%" /> <img src=".readme/draw_label_png_object.jpg" width="33%" />
|
|
<img src=".readme/draw_label_png_class.jpg" width="33%" /> <img src=".readme/draw_label_png_object.jpg" width="33%" />
|