labelmeai / labelme

Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
https://labelme.io
Other
13.11k stars 3.37k forks source link

ADE20K dataset image file not open labelme version:5.4.1 #1435

Open fti-sbargule opened 4 months ago

fti-sbargule commented 4 months ago

Provide environment information

labelme version : 5.4.1 python : 3.11

What OS are you using?

ubuntu

Describe the Bug

{
  "annotation": {
    "filename": "ADE_train_00019507.jpg",
    "folder": "ADE20K_2021_17_01/images/ADE/training/cultural/vestry",
    "imsize": [
      222,
      296,
      3
    ],
    "source": {
      "folder": "static_sun_database/v/vestry",
      "filename": "sun_aayejlppfhvudrje.jpg",
      "origin": "Downloaded from Google search. Image might be subject to copyright. Use only for non-commercial research and educational purposes."
    },
    "scene": [
      "indoor",
      "cultural",
      "vestry"
    ],
    "object": [
      {
        "id": 0,
        "name": "ceiling",
        "name_ndx": 447,
        "hypernym": [
          "ceiling",
          "upper surface",
          "side",
          "surface",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "ceiling",
        "attributes": [],
        "depth_ordering_rank": 1,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_000_ADE_train_00019507.png",
        "polygon": {
          "x": [
            145,
            107,
            296,
            296
          ],
          "y": [
            17,
            0,
            0,
            3
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 1,
        "name": "wall",
        "name_ndx": 2978,
        "hypernym": [
          "wall",
          "partition, divider",
          "structure, construction",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "wall",
        "attributes": [],
        "depth_ordering_rank": 2,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_001_ADE_train_00019507.png",
        "polygon": {
          "x": [
            0,
            107,
            145,
            143,
            1
          ],
          "y": [
            0,
            1,
            18,
            173,
            217
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 2,
        "name": "wall",
        "name_ndx": 2978,
        "hypernym": [
          "wall",
          "partition, divider",
          "structure, construction",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "wall",
        "attributes": [],
        "depth_ordering_rank": 3,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_002_ADE_train_00019507.png",
        "polygon": {
          "x": [
            296,
            295,
            145,
            144,
            295
          ],
          "y": [
            149,
            2,
            17,
            174,
            192
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 3,
        "name": "floor, flooring",
        "name_ndx": 976,
        "hypernym": [
          "floor, flooring",
          "horizontal surface, level",
          "surface",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "floor",
        "attributes": "carpet",
        "depth_ordering_rank": 4,
        "occluded": "no",
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_003_ADE_train_00019507.png",
        "polygon": {
          "x": [
            0,
            0,
            144,
            295,
            296
          ],
          "y": [
            222,
            217,
            173,
            193,
            221
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 4,
        "name": "windowpane, window",
        "name_ndx": 3055,
        "hypernym": [
          "windowpane, window",
          "pane, pane of glass, window glass",
          "plate glass, sheet glass",
          "sheet, flat solid",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "window",
        "attributes": [],
        "depth_ordering_rank": 5,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_004_ADE_train_00019507.png",
        "polygon": {
          "x": [
            105,
            109,
            76,
            74
          ],
          "y": [
            114,
            21,
            10,
            114
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 5,
        "name": "bench",
        "name_ndx": 181,
        "hypernym": [
          "bench",
          "seat",
          "furniture, piece of furniture, article of furniture",
          "furnishing",
          "instrumentality, instrumentation",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "bench",
        "attributes": [],
        "depth_ordering_rank": 6,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_005_ADE_train_00019507.png",
        "polygon": {
          "x": [
            128,
            129,
            130,
            130,
            128,
            128,
            125,
            120,
            114,
            113,
            116,
            116,
            116,
            112,
            106,
            103,
            104,
            2,
            2,
            57,
            54,
            61,
            66,
            72,
            70,
            73,
            76,
            76,
            75,
            114,
            114,
            119,
            122
          ],
          "y": [
            195,
            168,
            168,
            165,
            165,
            158,
            152,
            151,
            151,
            142,
            141,
            137,
            132,
            128,
            128,
            132,
            134,
            146,
            207,
            191,
            210,
            212,
            212,
            213,
            205,
            201,
            196,
            190,
            186,
            174,
            191,
            191,
            191
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 6,
        "name": "painting, picture",
        "name_ndx": 1735,
        "hypernym": [
          "painting, picture",
          "graphic art",
          "art, fine art",
          "creation",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "picture",
        "attributes": [],
        "depth_ordering_rank": 7,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_006_ADE_train_00019507.png",
        "polygon": {
          "x": [
            219,
            251,
            250,
            218
          ],
          "y": [
            26,
            24,
            64,
            65
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 7,
        "name": "painting, picture",
        "name_ndx": 1735,
        "hypernym": [
          "painting, picture",
          "graphic art",
          "art, fine art",
          "creation",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "picture",
        "attributes": [],
        "depth_ordering_rank": 8,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_007_ADE_train_00019507.png",
        "polygon": {
          "x": [
            47,
            63,
            63,
            46
          ],
          "y": [
            56,
            59,
            79,
            77
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 8,
        "name": "table",
        "name_ndx": 2684,
        "hypernym": [
          "table",
          "furniture, piece of furniture, article of furniture",
          "furnishing",
          "instrumentality, instrumentation",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "table",
        "attributes": [],
        "depth_ordering_rank": 9,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_008_ADE_train_00019507.png",
        "polygon": {
          "x": [
            170,
            166,
            168,
            165,
            165,
            162,
            161,
            159,
            165,
            177,
            296,
            294,
            286,
            239,
            236,
            228,
            183,
            172,
            171
          ],
          "y": [
            189,
            189,
            165,
            164,
            170,
            174,
            167,
            164,
            145,
            140,
            149,
            176,
            183,
            176,
            181,
            174,
            169,
            167,
            183
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      },
      {
        "id": 9,
        "name": "stool",
        "name_ndx": 2586,
        "hypernym": [
          "stool",
          "seat",
          "furniture, piece of furniture, article of furniture",
          "furnishing",
          "instrumentality, instrumentation",
          "artifact, artefact",
          "whole, unit",
          "object, physical object",
          "physical entity",
          "entity"
        ],
        "raw_name": "stool",
        "attributes": [],
        "depth_ordering_rank": 10,
        "occluded": [],
        "crop": "0",
        "parts": {
          "hasparts": [],
          "ispartof": [],
          "part_level": 0
        },
        "instance_mask": "ADE_train_00019507/instance_009_ADE_train_00019507.png",
        "polygon": {
          "x": [
            138,
            135,
            135,
            130,
            128,
            127,
            127,
            134,
            142,
            146,
            147,
            145,
            151,
            147,
            145,
            139
          ],
          "y": [
            186,
            185,
            151,
            151,
            157,
            153,
            147,
            145,
            145,
            146,
            148,
            151,
            185,
            186,
            151,
            151
          ],
          "click_date": []
        },
        "saved_date": "14-Aug-2009 11:28:11"
      }
    ]
  }
}

this json file.

Screenshot from 2024-04-26 17-40-17

Expected Behavior

No response

To Reproduce

No response