Thanks for sharing this. Now, I can see the checkboxes pre-selected with options. However, when I deselect an option, it still come as part of the accept key
as shown in the highlighted text.
{
"image": "data/train_images_tiny_10_frames_crop/clip_024332/00725.jpg",
"labels": "needle_driver",
"path": "data/train_images_tiny_10_frames_crop/clip_024332/00725.jpg",
"accept": [
"n",
"e",
"d",
"l",
"_",
"r",
"i",
"v",
"monopolar_curved_scissor"
],
"mod_labels": "needle_driver",
"options": [
{
"id": "needle_driver",
"text": "needle_driver"
},
{
"id": "monopolar_curved_scissor",
"text": "monopolar_curved_scissor"
},
{
"id": "force_bipolar",
"text": "force_bipolar"
},
{
"id": "clip_applier",
"text": "clip_applier"
},
{
"id": "tip_up_fenestrated_grasper",
"text": "tip_up_fenestrated_grasper"
},
{
"id": "cadiere_forceps",
"text": "cadiere_forceps"
},
{
"id": "bipolar_forceps",
"text": "bipolar_forceps"
},
{
"id": "vessel_sealer",
"text": "vessel_sealer"
},
{
"id": "suction_irrigator",
"text": "suction_irrigator"
},
{
"id": "bipolar_dissector",
"text": "bipolar_dissector"
},
{
"id": "prograsp_forceps",
"text": "prograsp_forceps"
},
{
"id": "stapler",
"text": "stapler"
},
{
"id": "permanent_cautery_hook_spatula",
"text": "permanent_cautery_hook_spatula"
},
{
"id": "grasping_retractor",
"text": "grasping_retractor"
},
{
"id": "nan",
"text": "nan"
},
{
"id": "blank",
"text": "blank"
}
],
"_input_hash": 1917670788,
"_task_hash": -1067387639,
"_view_id": "blocks",
"config": {
"choice_style": "multiple"
},
"answer": "accept",
"_timestamp": 1670096634
}
Any idea of how to fix it?