Skip to content

Unexpected error coming up when I try to import an annotation with only one label in it #296

Open
@JorgTV

Description

@JorgTV

Describe the bug
Can't import annotations when it's only 1 label that needs to be imported (unexpected error)

To Reproduce
Steps to reproduce the behavior:

  1. Create a project and only create one label
  2. Train a few pictures with that one label
  3. Save the labels in YOLO Format
  4. Create a new project
  5. Import the annotations with only 1 label in the labels.txt file
  6. Bug is reproduced

Expected behavior
It should import the annotations, just like it does when there are multiple labels

Screenshots
https://i.imgur.com/jfM3FXp.png

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version Newest

Additional context
It only throws this error when I try importing images with only 1 label, when there are mutiple labels (tried with 2) it works just fine.
Thanks for reading!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions