Browse Source

Update examples/semantic_segmentation

Kentaro Wada 5 years ago
parent
commit
e305c510a2

+ 44 - 44
examples/semantic_segmentation/data_annotated/2011_000003.json

@@ -1,5 +1,5 @@
 {
-  "version": "3.22.0",
+  "version": "4.0.0",
   "flags": {},
   "shapes": [
     {
@@ -7,167 +7,167 @@
       "points": [
         [
           250.8142292490119,
-          107.33596837944665
+          106.96696468940974
         ],
         [
           229.8142292490119,
-          119.33596837944665
+          118.96696468940974
         ],
         [
           221.8142292490119,
-          135.33596837944665
+          134.96696468940974
         ],
         [
           223.8142292490119,
-          148.33596837944665
+          147.96696468940974
         ],
         [
           217.8142292490119,
-          161.33596837944665
+          160.96696468940974
         ],
         [
           202.8142292490119,
-          168.33596837944665
+          167.96696468940974
         ],
         [
           192.8142292490119,
-          200.33596837944665
+          199.96696468940974
         ],
         [
           194.8142292490119,
-          222.33596837944665
+          221.96696468940974
         ],
         [
           199.8142292490119,
-          227.33596837944665
+          226.96696468940974
         ],
         [
           191.8142292490119,
-          234.33596837944665
+          233.96696468940974
         ],
         [
           197.8142292490119,
-          264.3359683794467
+          263.9669646894098
         ],
         [
           213.8142292490119,
-          295.3359683794467
+          294.9669646894098
         ],
         [
           214.8142292490119,
-          320.3359683794467
+          319.9669646894098
         ],
         [
           221.8142292490119,
-          327.3359683794467
+          326.9669646894098
         ],
         [
           235.8142292490119,
-          326.3359683794467
+          325.9669646894098
         ],
         [
           240.8142292490119,
-          323.3359683794467
+          322.9669646894098
         ],
         [
           235.8142292490119,
-          298.3359683794467
+          297.9669646894098
         ],
         [
           238.8142292490119,
-          287.3359683794467
+          286.9669646894098
         ],
         [
           234.8142292490119,
-          268.3359683794467
+          267.9669646894098
         ],
         [
           257.81422924901193,
-          258.3359683794467
+          257.9669646894098
         ],
         [
           264.81422924901193,
-          264.3359683794467
+          263.9669646894098
         ],
         [
           256.81422924901193,
-          273.3359683794467
+          272.9669646894098
         ],
         [
           259.81422924901193,
-          282.3359683794467
+          281.9669646894098
         ],
         [
           284.81422924901193,
-          288.3359683794467
+          287.9669646894098
         ],
         [
           297.81422924901193,
-          278.3359683794467
+          277.9669646894098
         ],
         [
           288.81422924901193,
-          270.3359683794467
+          269.9669646894098
         ],
         [
           281.81422924901193,
-          270.3359683794467
+          269.9669646894098
         ],
         [
           283.81422924901193,
-          264.3359683794467
+          263.9669646894098
         ],
         [
           292.81422924901193,
-          261.3359683794467
+          260.9669646894098
         ],
         [
           308.81422924901193,
-          236.33596837944665
+          235.96696468940974
         ],
         [
           313.81422924901193,
-          217.33596837944665
+          216.96696468940974
         ],
         [
           309.81422924901193,
-          208.33596837944665
+          207.96696468940974
         ],
         [
           312.81422924901193,
-          202.33596837944665
+          201.96696468940974
         ],
         [
           308.81422924901193,
-          185.33596837944665
+          184.96696468940974
         ],
         [
           291.81422924901193,
-          173.33596837944665
+          172.96696468940974
         ],
         [
           269.81422924901193,
-          159.33596837944665
+          158.96696468940974
         ],
         [
           261.81422924901193,
-          154.33596837944665
+          153.96696468940974
         ],
         [
           264.81422924901193,
-          142.33596837944665
+          141.96696468940974
         ],
         [
           273.81422924901193,
-          137.33596837944665
+          136.96696468940974
         ],
         [
           278.81422924901193,
-          130.33596837944665
+          129.96696468940974
         ],
         [
           270.81422924901193,
-          121.33596837944665
+          120.96696468940974
         ]
       ],
       "group_id": null,
@@ -342,7 +342,7 @@
           90.33596837944665
         ]
       ],
-      "group_id": 0,
+      "group_id": null,
       "shape_type": "polygon",
       "flags": {}
     },
@@ -366,7 +366,7 @@
           185.33596837944665
         ]
       ],
-      "group_id": 0,
+      "group_id": null,
       "shape_type": "polygon",
       "flags": {}
     },

+ 20 - 20
examples/semantic_segmentation/data_annotated/2011_000006.json

@@ -1,5 +1,5 @@
 {
-  "version": "3.22.0",
+  "version": "4.0.0",
   "flags": {},
   "shapes": [
     {
@@ -271,63 +271,63 @@
       "points": [
         [
           308.936170212766,
-          242.56382978723406
+          243.33306055646483
         ],
         [
           281.936170212766,
-          251.56382978723406
+          252.33306055646483
         ],
         [
           270.936170212766,
-          287.56382978723406
+          288.33306055646483
         ],
         [
           174.936170212766,
-          275.56382978723406
+          276.33306055646483
         ],
         [
           148.936170212766,
-          296.56382978723406
+          297.33306055646483
         ],
         [
           150.936170212766,
-          319.56382978723406
+          320.33306055646483
         ],
         [
           159.936170212766,
-          328.56382978723406
+          329.33306055646483
         ],
         [
           164.77327127659578,
-          375.0
+          375.7692307692308
         ],
         [
           485.936170212766,
-          373.56382978723406
+          374.33306055646483
         ],
         [
           497.936170212766,
-          336.56382978723406
+          337.33306055646483
         ],
         [
           497.936170212766,
-          202.56382978723406
+          203.33306055646483
         ],
         [
           453.936170212766,
-          193.56382978723406
+          194.33306055646483
         ],
         [
           434.936170212766,
-          212.56382978723406
+          213.33306055646483
         ],
         [
           367.936170212766,
-          224.56382978723406
+          225.33306055646483
         ],
         [
           350.936170212766,
-          241.56382978723406
+          242.33306055646483
         ]
       ],
       "group_id": null,
@@ -430,7 +430,7 @@
           203.56382978723406
         ]
       ],
-      "group_id": 0,
+      "group_id": null,
       "shape_type": "polygon",
       "flags": {}
     },
@@ -450,7 +450,7 @@
           311.56382978723406
         ]
       ],
-      "group_id": 0,
+      "group_id": null,
       "shape_type": "polygon",
       "flags": {}
     },
@@ -494,7 +494,7 @@
           164.56382978723406
         ]
       ],
-      "group_id": 0,
+      "group_id": null,
       "shape_type": "polygon",
       "flags": {}
     },
@@ -518,7 +518,7 @@
           256.56382978723406
         ]
       ],
-      "group_id": 0,
+      "group_id": null,
       "shape_type": "polygon",
       "flags": {}
     }

+ 46 - 39
examples/semantic_segmentation/data_annotated/2011_000025.json

@@ -1,124 +1,125 @@
 {
+  "version": "4.0.0",
+  "flags": {},
   "shapes": [
     {
       "label": "bus",
-      "line_color": null,
-      "fill_color": null,
       "points": [
         [
           260.936170212766,
-          22.563829787234056
+          22.948445171849443
         ],
         [
           193.936170212766,
-          19.563829787234056
+          19.948445171849443
         ],
         [
           124.93617021276599,
-          39.563829787234056
+          39.94844517184944
         ],
         [
           89.93617021276599,
-          101.56382978723406
+          101.94844517184944
         ],
         [
           81.93617021276599,
-          150.56382978723406
+          150.94844517184944
         ],
         [
           108.93617021276599,
-          145.56382978723406
+          145.94844517184944
         ],
         [
           88.93617021276599,
-          244.56382978723406
+          244.94844517184944
         ],
         [
           89.93617021276599,
-          322.56382978723406
+          322.94844517184936
         ],
         [
           116.93617021276599,
-          367.56382978723406
+          367.94844517184936
         ],
         [
           158.936170212766,
-          368.56382978723406
+          368.94844517184936
         ],
         [
           165.936170212766,
-          337.56382978723406
+          337.94844517184936
         ],
         [
           347.936170212766,
-          335.56382978723406
+          335.94844517184936
         ],
         [
           349.936170212766,
-          369.56382978723406
+          369.94844517184936
         ],
         [
           391.936170212766,
-          373.56382978723406
+          373.94844517184936
         ],
         [
           403.936170212766,
-          335.56382978723406
+          335.94844517184936
         ],
         [
           425.936170212766,
-          332.56382978723406
+          332.94844517184936
         ],
         [
           421.936170212766,
-          281.56382978723406
+          281.94844517184936
         ],
         [
           428.936170212766,
-          252.56382978723406
+          252.94844517184944
         ],
         [
           428.936170212766,
-          236.56382978723406
+          236.94844517184944
         ],
         [
           409.936170212766,
-          220.56382978723406
+          220.94844517184944
         ],
         [
           409.936170212766,
-          150.56382978723406
+          150.94844517184944
         ],
         [
           430.936170212766,
-          143.56382978723406
+          143.94844517184944
         ],
         [
           433.936170212766,
-          112.56382978723406
+          112.94844517184944
         ],
         [
           431.936170212766,
-          96.56382978723406
+          96.94844517184944
         ],
         [
           408.936170212766,
-          90.56382978723406
+          90.94844517184944
         ],
         [
           395.936170212766,
-          50.563829787234056
+          50.94844517184944
         ],
         [
           338.936170212766,
-          25.563829787234056
+          25.948445171849443
         ]
-      ]
+      ],
+      "group_id": null,
+      "shape_type": "polygon",
+      "flags": {}
     },
     {
       "label": "bus",
-      "line_color": null,
-      "fill_color": null,
       "points": [
         [
           88.93617021276599,
@@ -164,12 +165,13 @@
           81.93617021276599,
           151.56382978723406
         ]
-      ]
+      ],
+      "group_id": null,
+      "shape_type": "polygon",
+      "flags": {}
     },
     {
       "label": "car",
-      "line_color": null,
-      "fill_color": null,
       "points": [
         [
           413.936170212766,
@@ -195,9 +197,16 @@
           408.936170212766,
           218.56382978723406
         ]
-      ]
+      ],
+      "group_id": null,
+      "shape_type": "polygon",
+      "flags": {}
     }
   ],
+  "imagePath": "2011_000025.jpg",
+  "imageData": null,
+  "imageHeight": 375,
+  "imageWidth": 500,
   "lineColor": [
     0,
     255,
@@ -209,7 +218,5 @@
     0,
     0,
     128
-  ],
-  "imagePath": "2011_000025.jpg",
-  "imageData": null
+  ]
 }

BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClass/2011_000003.npy


BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClass/2011_000006.npy


BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClassPNG/2011_000003.png


BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClassPNG/2011_000006.png


BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClassVisualization/2011_000003.jpg


BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClassVisualization/2011_000006.jpg


BIN
examples/semantic_segmentation/data_dataset_voc/SegmentationClassVisualization/2011_000025.jpg