bethgelab / bethgelab/openimages2coco

Wrong processing logic to get annotated_attributes

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
116
Forks
20
PR merge metrics
No merged PRs in 30d

Description

In `utils.py`, I guess you should put line151 before line143 to get `annotated_attributes` correctly?
[https://github.com/bethgelab/openimages2coco/blob/master/utils.py#L151](https://github.com/bethgelab/openimages2coco/blob/master/utils.py#L151)

Since after line143, `original_annotations` will pop out original_annotations[0] then you lose that 5 attributes.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review utils.py around lines 143 and 151 first. Verify the ordering against the reported behavior, then confirm that annotated_attributes preserves the five attributes that are otherwise lost from original_annotations[0].

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.