Hello,
I am pretty new to Prodigy and wanted to ask if there is a way to save the progress of one session_id throughout the annotation process? For example: If I had a dataset with around 300 samples and 10 session_ids for users to use, I would like them to annotate 30 samples each, so the dataset is balanced. In this example it would be easy to keep track of your own progress because you could do all 30 annotations in one session. However, in the case where a user stops midway and forgets how many annotations they already did, I would like to have some sort of a progress bar displaying how many annotations were already done from that session_id. Is that possible?
I already included the progress bar with the function to track the percentage of already done annotations splitted by the amount of users, but when checking other session_ids I see the same progress:
def progress(ctrl, update_return_value):
return ctrl.session_annotated / (300 / 10)
[...]
return {
"view_id": "blocks",
"dataset": dataset,
"stream": stream,
"progress": progress,
"config": {
"lang": "de",
"blocks": blocks,
"theme": "spacy",
"custom_theme": {"cardMaxWidth": 1500},
"auto_count_stream": True,
"html_template": html_template
},
}
I also tried to use ctrl.session_annotated_by_session
instead, but it only lead to an error. If possible, I would like a progress bar like below that is saved even after closing the window, so the user at least knows how much longer they need to work on the annotation.
Thanks for the help!