Label-studio: why "Bbox object detection" cannot review result after labelled

Created on 24 Aug 2020  ·  32Comments  ·  Source: heartexlabs/label-studio

Screenshots
12
image

bug

Most helpful comment

I faced this issue. The problem could be in the too small area where LSF is placed. Try to pre-define it at least with width=500px.

All 32 comments

@zhl5317 Can you go to Network
image
and reload page fully to check if image could be loaded?

Hi! This error shows that image was not loaded for some reason. Could you please show the top of console output? You can hide all urls except protocols, I'm just interested in errors)

@zhl5317 Can you go to Network
image
and reload page fully to check if image could be loaded?

Hi! This error shows that image was not loaded for some reason. Could you please show the top of console output? You can hide all urls except protocols, I'm just interested in errors)

hI, all console outpout is
image

and i check the network img, the image link can be accessed

image

@zhl5317 Can you go to Network
image
and reload page fully to check if image could be loaded?

hi this is all console output, only show "react-reconciler.production.min.js:2371 DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0." and i check the network img, the image link can be accessed.
image
image

hi

Reload the page can not load either, and console all output only show

------------------ 原始邮件 ------------------
发件人: "heartexlabs/label-studio" <[email protected]>;
发送时间: 2020年8月24日(星期一) 晚上9:39
收件人: "heartexlabs/label-studio"<[email protected]>;
抄送: "809041737"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [heartexlabs/label-studio] why "Bbox object detection" cannot review result after labelled (#406)

@zhl5317 Can you go to

and reload page fully to check if image could be loaded?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

that's all console output

------------------ 原始邮件 ------------------
发件人: "heartexlabs/label-studio" <[email protected]>;
发送时间: 2020年8月24日(星期一) 晚上9:41
收件人: "heartexlabs/label-studio"<[email protected]>;
抄送: "809041737"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [heartexlabs/label-studio] why "Bbox object detection" cannot review result after labelled (#406)

Hi! This error shows that image was not loaded for some reason. Could you please show the top of console output? You can hide all urls except protocols, I'm just interested in errors)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@zhl5317 Why did you close this issue? Have you found a solution?

oh, thanks, wrong click, i have reopen it

------------------ 原始邮件 ------------------
发件人: "heartexlabs/label-studio" <[email protected]>;
发送时间: 2020年8月24日(星期一) 晚上10:36
收件人: "heartexlabs/label-studio"<[email protected]>;
抄送: "809041737"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [heartexlabs/label-studio] why "Bbox object detection" cannot review result after labelled (#406)

@zhl5317 Why did you close this issue? Have you found a solution?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Can you show your labeling config and sample task?

please refer to attached

------------------ 原始邮件 ------------------
发件人: "heartexlabs/label-studio" <[email protected]>;
发送时间: 2020年8月24日(星期一) 晚上10:49
收件人: "heartexlabs/label-studio"<[email protected]>;
抄送: "809041737"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [heartexlabs/label-studio] why "Bbox object detection" cannot review result after labelled (#406)

Can you show your labeling config and sample task?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@zhl5317 Sorry, what attachment do you mean?

task.json:
{
  "4": {
    "id": 4,
    "data": {
      "image": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1598012320734&di=bc1a884bdcba036c1c426443692d24d3&imgtype=0&src=http%3A%2F%2Fwww.demodashi.com%2Fueditor%2Fjsp%2Fupload%2Fimage%2F20170802%2F1501642981629058693.jpeg"
    }
  },
  "5": {
    "id": 5,
    "data": {
      "image": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1598012320734&di=bc1a884bdcba036c1c426443692d24d3&imgtype=0&src=http%3A%2F%2Fwww.demodashi.com%2Fueditor%2Fjsp%2Fupload%2Fimage%2F20170802%2F1501642981629058693.jpeg"
    }
  }
}

config.xml:
       

completions:
{
  "completions": [
    {
      "created_at": 1598263591,
      "id": 1001,
      "lead_time": 3.879,
      "result": [
        {
          "from_name": "tag",
          "id": "h7iQidjIqx",
          "original_height": 240,
          "original_width": 490,
          "source": "$image",
          "to_name": "image",
          "type": "ellipselabels",
          "value": {
            "ellipselabels": [
              "Car"
            ],
            "radiusX": 6.326530612244898,
            "radiusY": 9.583333333333334,
            "rotation": 0,
            "x": 46.53061224489796,
            "y": 45.416666666666664
          }
        }
      ]
    }
  ],
  "data": {
    "image": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1598012320734&di=bc1a884bdcba036c1c426443692d24d3&imgtype=0&src=http%3A%2F%2Fwww.demodashi.com%2Fueditor%2Fjsp%2Fupload%2Fimage%2F20170802%2F1501642981629058693.jpeg"
  },
  "id": 1
}

------------------ 原始邮件 ------------------
发件人: "heartexlabs/label-studio" <[email protected]>;
发送时间: 2020年8月24日(星期一) 晚上11:15
收件人: "heartexlabs/label-studio"<[email protected]>;
抄送: "809041737"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [heartexlabs/label-studio] why "Bbox object detection" cannot review result after labelled (#406)

@zhl5317 Sorry, what attachment do you mean?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@zhl5317 Could you test LS release/0.7.4 now? Is your error still there?

Hi max

i test on LS0.7.4, still same error

------------------ 原始邮件 ------------------
发件人: "heartexlabs/label-studio" <[email protected]>;
发送时间: 2020年8月24日(星期一) 晚上11:34
收件人: "heartexlabs/label-studio"<[email protected]>;
抄送: "809041737"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [heartexlabs/label-studio] why "Bbox object detection" cannot review result after labelled (#406)

@zhl5317 Could you test LS release/0.7.4 now? Is your error still there?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@zhl5317
Why do you have doubled "completions" seсtions?

completions:
{
&nbsp; "completions": [
...

@makseq

no, Just one example

actually my completions is:
image

@hlomzik Can you check this issue about canvas: https://github.com/niklasvh/html2canvas/issues/1859
It seems really something strange in it...

@zhl5317 do you have this trouble in the each task?

@makseq

no, other image tagging task are all ok, only “object detection“ have this trouble

@zhl5317 I explored your completion more detailed and found that there is "ellipselabels" inside, but you are talking about bboxes. I think you broke the integrity somewhere between the labeling config and task completions, e.g. you changed the labeling config manually.

@makseq

thank you for your attention

actually, i think my data is ok, because the data is created by LS tagging, not created by by myself. the following pic is my test data

image

{ "completions": [ { "created_at": 1598929260, "id": 1001, "lead_time": 4.093, "result": [ { "from_name": "label", "id": "f2I9aRX-3x", "image_rotation": 0, "original_height": 403, "original_width": 600, "parent_id": null, "source": "$image", "to_name": "image", "type": "rectanglelabels", "value": { "height": 56.96517412935324, "rectanglelabels": [ "Airplane" ], "rotation": 0, "width": 22.666666666666668, "x": 39.333333333333336, "y": 31.8407960199005 } } ] } ], "data": { "image": "https://app.heartex.ai/static/samples/sample.jpg" }, "id": 1 }

you can try "Bbox object detection" in your side to check whether has the issue

I checked your completion on my side. Everything is ok...
Do you use google chrome? Or some custom version of it?

@makseq

yes, im using chrome, Is there a compatibility issue on Chrome?

Maybe. I'm trying to do some checks.
Can you try another browser? And please show your label config.

@makseq
anyway, thank you for your quick reply, i will track my configrations in more detail, and i will try on other another browser

mysql label config is official website example
<View> <Image name="image" value="$image"/> <RectangleLabels name="label" toName="image"> <Label value="Airplane" background="green"/> <Label value="Car" background="blue"/> </RectangleLabels> </View>

I will give you feedback on any discovery, one more thanks

@makseq

i try on other browser (ie Edge) is ok,

but on chrome sometimes is ok, sometime will occurs " Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0", its very strange
image

image

@zhl5317 Do you still have this issue? Can you try release 0.7.5rc3? (it's in pypi: pip install label-studio==0.7.4rc3)

I faced this issue. The problem could be in the too small area where LSF is placed. Try to pre-define it at least with width=500px.

@zhl5317 Does it help you?

I faced this issue. The problem could be in the too small area where LSF is placed. Try to pre-define it at least with width=500px.

Hi @makseq ! I also faced this issue. Where can i pre-define the LSF area width?

@korotaS Hi, I hope we fixed it since 0.7.5.post0 release. Check this release, please.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rishabh-hyperverge picture Rishabh-hyperverge  ·  3Comments

fakyras picture fakyras  ·  3Comments

lfgogogo picture lfgogogo  ·  3Comments

p-sodmann picture p-sodmann  ·  3Comments

makseq picture makseq  ·  6Comments