Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when loading annotation in dataset browser #72

Open
eparisot-mitsa opened this issue Jan 31, 2024 · 0 comments
Open

Issue when loading annotation in dataset browser #72

eparisot-mitsa opened this issue Jan 31, 2024 · 0 comments

Comments

@eparisot-mitsa
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant