question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automatic annotation YOLO error

See original GitHub issue

My actions before raising this issue

  • Read/searched the docs
  • Searched past issues

Expected Behaviour

Using Yolo-v3 AI tool should give the detected bboxes as annotations in CVAT.

Current Behaviour

After clicking “Annotate” I get this error in the CVAT UI:

Detection error occured
Error: "state label" is expected to be Label, but "undefined" has been got.

Possible Solution

Possibly CVAT error in handling the response from nuclio?

Steps to Reproduce (for bugs)

  1. Open a video labeling job in Chrome e.g. http://localhost:8080/tasks/1/jobs/1
  2. Click “AI Tools” -> Detectors -> set “person” and “cell phone” labels mapping
  3. Click “Annotate”

Context

I am trying to use Yolo-v3 via nuclio for automatic annotation of videos. I followed the instructions for setting up automatic annotation. Confirmed that the Yolo nuclio function is working by using advice from this issue: https://github.com/openvinotoolkit/cvat/issues/2641#issuecomment-755348090 In addition to this the automatic annotation for the whole video (job) also doesn’t work. It shows the progress bar and finishes without errors, but then there are no annotations made.

Your Environment

  • using CVAT v1.2.0
  • Docker version 20.10.2
  • docker-compose version 1.24.1
  • Ubuntu 18.04.05

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
bsekachevcommented, Feb 8, 2021

@whiteocean016

So, finally I was able to reproduce the issue and glad to say that it has been already fixed in #2725. Please, update CVAT from develop branch and thanks for your support.

Also one more PR has been recently submitted #2780 to fix quite serious usability issue with AI Tools #2753 and I would recommend you to wait it to be merged (I hope we will do it tomorrow).

@AlexandrMoruk FYI

I’ll close the issue, but if you still have questions, please ask.

1reaction
sajadalipourcommented, Feb 26, 2021

I solved this problem. For creating a task, you must define labels exclusively for that task and the task must not belong to any project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatic annotation YOLO error · Issue #2747 · opencv/cvat
Current Behaviour After clicking "Annotate" I get this erro. ... I am trying to use Yolo-v3 via nuclio for automatic annotation of videos....
Read more >
Effect of Annotation Errors on Drone Detection with YOLOv3
In this work, different types of annotation errors for object detection problem are simulated and the performance of a popular state-of-the-art ...
Read more >
Auto annotate with yolov3 pretrained model for training new ...
In this article, I will explain how to do annotation automatically by utilizing the existing pre trained model. but it needs to be...
Read more >
opencv-cvat/public - Gitter
Hello everyone, I was able to set up cvat with auto annotation successfully. I can use the yolo-v3-tf model from openvivo for example....
Read more >
Automatic Annotation of Models for Object Classification in ...
A way to solve this problem, would be to make sure that key frames are manually annotated. These frames, are the final frame...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found