Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show attributes returned from a detector #4898

Closed
2 tasks done
tadejsv opened this issue Sep 3, 2022 · 4 comments
Closed
2 tasks done

Show attributes returned from a detector #4898

tadejsv opened this issue Sep 3, 2022 · 4 comments
Labels
need info Need more information to investigate the issue

Comments

@tadejsv
Copy link
Contributor

tadejsv commented Sep 3, 2022

My actions before raising this issue

Detector models return some attributes, e.g. confidence (like here), but this is not shown in CVAT UI.

Expected Behaviour

Returned attributes should be shown.

Current Behaviour

Attributes are not shown :(

Steps to Reproduce (for bugs)

  1. Go to app.cvat.ai.

  2. Creat a new task, add a label (Car), and attribute confidence for it - like so
    image

  3. Upload image with some cars

  4. Use Yolov3 automatic detector to detect cars (which should set confidence, see this part of code)

  5. Observe that the value of confidence is not set for any detection.

image

@tadejsv
Copy link
Contributor Author

tadejsv commented Sep 3, 2022

Actually, I see that in the code, confidence is returned as string (while I have set it as Number in example aboce). However, even if I set the confidence attribute as Text, the attribute remains empty.

@bsekachev
Copy link
Member

bsekachev commented Sep 15, 2022

Hello, please consider this PR #3917 and this one #4506.

They both are merged to develop (do not worry about the second one is closed).

You need to configure serverless function .yml file and its model_handler

You can look at serverless/openvino/omz/intel/face-detection-0205/nuclio/function.yaml as an example.

It has spec description:
image

And in the code you can see:
image

@bsekachev bsekachev added the need info Need more information to investigate the issue label Sep 15, 2022
@tadejsv
Copy link
Contributor Author

tadejsv commented Sep 15, 2022

Will try it out, thanks!

@bsekachev
Copy link
Member

Well, I will close the issue now. Do not hesitate to reopen if you still have questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Need more information to investigate the issue
Projects
None yet
Development

No branches or pull requests

2 participants