Skip to content

Issue when loading annotation in dataset browser #72

Description

@eparisot-mitsa
from docile.dataset import load_predictions

KILE_PREDICTION_PATH=Path("../../data/docile/annotations/009bdcdec5c04cd3b2e31555.json")
kile_predictions = load_predictions(KILE_PREDICTION_PATH)

File c:\Users\erp\AppData\Local\Programs\Python\Python311\Lib\site-packages\docile\dataset\field.py:90, in (.0)
...
---> 37 dct_copy = dict(dct)
38 bbox = BBox(*(dct_copy.pop("bbox")))
40 # do not fail on extra keys (if participants save extra information), only warn.

ValueError: dictionary update sequence element #0 has length 1; 2 is required

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions