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

Create cvat_sdk.datasets, a framework-agnostic version of cvat_sdk.pytorch #6428

Merged
merged 4 commits into from
Jul 18, 2023

Commits on Jul 13, 2023

  1. Create cvat_sdk.datasets, a framework-agnostic version of cvat_sdk.py…

    …torch
    
    The new `TaskDataset` class provides conveniences like per-frame
    annotations, bulk data downloading, and caching without forcing a dependency
    on PyTorch (and somewhat awkwardly conforming to the PyTorch dataset
    interface). It also provides a few extra niceties, like easy access to labels
    and original frame numbers.
    
    Note that it's called `TaskDataset` rather than `TaskVisionDataset`, as my plan is
    to keep it domain-agnostic. The `MediaElement` class is extensible, and we can add,
    for example, support for point clouds, by adding another `load_*` method.
    
    There is currently no `ProjectDataset` equivalent, although one could (and
    probably should) be added later. If we add one, we should probably also add
    a `task_id` field to `Sample`.
    SpecLad committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    0902c0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    232d6a0 View commit details
    Browse the repository at this point in the history
  3. Update changelog

    SpecLad committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    7cda958 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    415233a View commit details
    Browse the repository at this point in the history