HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.95k stars 2.36k forks source link

Cloud Storage: import/export multiple tasks from/to one JSON file #2662

Open starphantom666 opened 2 years ago

starphantom666 commented 2 years ago

Can we read data from a file when we read the file, and then the marked results are also stored in the same file by adding new fields, so I think it will be more convenient to use and organize the file

makseq commented 2 years ago

You can import json file with tasks and then export the results in JSON format again. There will be annotations field added where the results are stored.

starphantom666 commented 2 years ago

You can import json file with tasks and then export the results in JSON format again. There will be annotations field added where the results are stored.

Sorry, there's a problem with what I said before. I'm talking about cloud storage. I found that it only supports the import of JSON format files, and only one text can be stored in a file. I wonder if this one can be optimized. When it supports cloud reading files, multiple texts can be read from a file at one time; When exporting the cloud, I also found that every time I update the annotation, it will export a new file instead of continuously updating a file

starphantom666 commented 2 years ago

You can import json file with tasks and then export the results in JSON format again. There will be annotations field added where the results are stored.

In fact, I want to say whether the cloud synchronization function can synchronize based on a file, such as a CSV file, read its contents and put the annotation information in the new field of this file

makseq commented 2 years ago

Ok, now it's much clearer. Yes, LS doesn't yet support multiple tasks reading from storages. The similar problem exists with the export. It's a pretty popular request, so I think we will consider it's as a high priority thing.

makseq commented 2 years ago

Similar issues: https://github.com/heartexlabs/label-studio/issues/1960

starphantom666 commented 2 years ago

Ok, now it's much clearer. Yes, LS doesn't yet support multiple tasks reading from storages. The similar problem exists with the export. It's a pretty popular request, so I think we will consider it's as a high priority thing.

OK, thank you. I'm looking forward to your update!