Skip to content

[BUG] download cvat dataset should not download deleted frames #6302

@IISI-2005013

Description

@IISI-2005013

Steps to Reproduce

call import_annotations to import cvat dataset

import fiftyone.utils.cvat as fouc
function fouc.import_annotations

Expected Behavior

Should not download cvat deleted frames

Possible Solution

currently I just add the following code under fiftyone/utils/cvat.py def _parse_task_metadata as a workaround

...
    for frame_id, frame in enumerate(resp["frames"]):
        filename = frame["name"]
        if frame_id in deleted_frames:
            ignored_filenames.append(filename)
            continue
...

Context

No response

Environment

fiftyone==1.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions