Exporting in YOLO format with new labels doesn't include labels.txt in the zip file
Describe the bug
After modifying the annotations/labels for image(s) loaded in YOLO format. We exported them. In the process, new label(s) were added to the project. We noticed that the zip file only include the .txt files for each image, and not a new label.txt file with the new label names. This would mean we need to ask folks to manually generate the labels.txt file, which is error-prone.
To Reproduce Steps to reproduce the behavior:
- Load images and annotation to a project
- Add a new label anywhere in on an image
- Go to Export Annotation -> A
zippackage containing files in YOLO format - Unzip the zip files -> there is a
.txtfile for each image. They have an integer representing the new label, but we don't have a newlabel.txtfile with the name of the new label for this model.
Expected behavior
If a new label(s) have been added, the zip file resulting from exported YOLO format should contain the labels.txt file with the new list of labels.
This might also be true if a certain label has been completely removed from the list, causing the list to be reordered. It should be "easy" to reload the exported YOLO format back into our model.
👋 Hello @noatamir, thank you for your interest in make-sense - free to use online tool for labelling photos! 🏷️
🐞 Bug reports
If you noticed that make-sense is not working properly, please provide us with as much information as possible. To make your life easier, we have prepared a bug report template containing all the relevant details. We know, we ask for a lot... However, please believe that knowing all that extra information - like the type of browser you use or the version of node you have installed - really helps us to solve your problems faster and more efficiently. 😉
💬 Get in touch
If you've been trying to contact us but for some reason we haven't responded to your issue yet, don't hesitate to get back to us on Gitter or Twitter.
💻 Local setup
# clone repository
git clone https://github.com/SkalskiP/make-sense.git
# navigate to main dir
cd make-sense
# install dependencies
npm install
# serve with hot reload at localhost:3000
npm start
To ensure proper functionality of the application locally, an npm 6.x.x and node.js v12.x.x versions are required. More information about this problem is available in the #16 issue.
Hi, @noatamir 👋! Thank you for your interest in Make Sense! I agree. We need to allow users to export .txt file with a class list. Let me try to evaluate how much work we will need to add this functionality. I want to:
- Inculcate
labels.txtinside.zipfile - Allow for download of
labels.txtfromEdit labelspopup
Any progress regarding this little but very important detail..??