Hi,
i used the (adjusted) example code in the documentation with the mark recipe for a binary image classification task:
prodigy mark finger_lens_images ./images --loader images --label FINGER_OVER_LENS --view-id classification
and I labeled images. It worked fine and I saved the annotations
When I use:
python -m prodigy db-out dataset_name> datafile_name.json
a file with this name is written in the defined location and is not empty and especially large 45.000 KB for 45 labeled images, Opening it with Wordpad, it seems there is not the expected data structure, like I know it from text classification tasks (e.g. image, label given etc.) Do I miss something? Is there another way to export the data or did I make something wrong in the initial code with the setup of the labeling environment?
The output looks like it is a huge entry about just one image file:
Start of output:
{"image":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVgAAAFeCAYAAADANQddAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAP
In between, just code like this 0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAP
End of ouput:
zOxkwvNmp6IkPcA9tlMML7fIPQoZ7ImLYYaYvWIWPtTijnr0VswEycG+KJ092G4kqXgYji8tGdeiOkQ2+Klan4i0GU7UBc5j4I6zQA/x/wvBelQzk//QAAAABJRU5ErkJggg==","text":"FILENAME_COPY","meta":{"file":"FILENAME:PNG"},"label":"LABEL_DEFINED","_input_hash":857793485,"_task_hash":859886761,"_session_id":null,"_view_id":"classification","answer":"accept"}