Particle1904 / DatasetHelpers

Dataset Helper program to automatically select, re scale and tag Datasets (composed of image and text) for Machine Learning training.
MIT License
170 stars 9 forks source link

"Tags to add" do not work for images without text file #30

Closed WorldEntityGravity closed 4 months ago

WorldEntityGravity commented 4 months ago

Bug Description

When creating a new dataset and using the "Tags to add" textbox on the "Process Tags" page, no new text files are created, only existing text-files are tagged.

Steps to Reproduce

Create a new folder with images Do not add any text files for the images Open the "Process Tags" page and fil in the "Tags to add" text box Click on the "Process tags" button Nothing happens

Expected Behavior

When trying to add tags to images without a text file, it should create a text file and add the tags to it or have a option (checkbox?) for it

Environment Details

Complete the following information:

Particle1904 commented 4 months ago

Not really a bug, it was just a design choice. The page is supposed to be used to process existing files. If you want to quickly create .txt files, select a folder in the editor page and scroll through the entire dataset, when an image doesn't have a .txt file, the editor page will create an empty one.