Open
Description
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:
- Create a project and only create one label
- Train a few pictures with that one label
- Save the labels in YOLO Format
- Create a new project
- Import the annotations with only 1 label in the labels.txt file
- 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!