This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
OR-4087_Labelstudio_Add_meta_information_for_tasks_during_image_upload #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR fulfills these requirements
[fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made
ex.fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
Change has impacts in these area(s)
(check all that apply)
Reason for change:
The problem:
to make training of generalized models easier, to easily evaluation exiting models on new data from potentially new customers.
We need to store the information about data origin somewhere
Please extend image uploading with a form that you can:
After submitting the form the following should happen:
configured tags are saved into the meta json only for the freshly generated images of that upload
Changes in this PR:
with the required body {"train": true, "test": false, "val": false} and returns the filtered tasks in the response.
— Advanced view of the synchronized image with additional fields for tags and saving it in the task model. {"tags": {"train": true, "test": false, "val": false, "custom_name": custom_value}}
Result:
As results we can add tags by swagger ui using this optional templates:
For upload {"tags": {"train": true, "test": false, "val": false, "custom_name": custom_value}}
For export/train: {"train": true, "test": false, "val": false, "custom_name": custom_value}