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

SDK: Add predefined functions based on torchvision #6649

Merged
merged 3 commits into from
Aug 11, 2023

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Aug 10, 2023

Motivation and context

These serve as a replacement for YOLOv8n that was removed in #6632.

To support these functions, I also add an ability to define parameterized functions for use with the CLI.

How has this been tested?

Unit tests.

Checklist

  • I submit my changes into the develop branch
  • I have added a description of my changes into the CHANGELOG file
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • [ ] I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@SpecLad SpecLad force-pushed the torchvision-predefined-functions branch 2 times, most recently from 4b0e886 to 0e6dc54 Compare August 10, 2023 10:25
@SpecLad SpecLad marked this pull request as ready for review August 10, 2023 10:53
@SpecLad SpecLad force-pushed the torchvision-predefined-functions branch from 0e6dc54 to 1970d70 Compare August 11, 2023 10:01
@SpecLad SpecLad merged commit b0b8e49 into cvat-ai:develop Aug 11, 2023
32 of 33 checks passed
@SpecLad SpecLad deleted the torchvision-predefined-functions branch August 11, 2023 11:22
@SpecLad SpecLad mentioned this pull request Aug 11, 2023
SpecLad added a commit that referenced this pull request Aug 11, 2023
## \[2.6.0\] - 2023-08-11

### Added

- \[SDK\] Introduced the `DeferredTqdmProgressReporter` class,
  which avoids the glitchy output seen with the `TqdmProgressReporter` under certain circumstances
  (<#6556>)
- \[SDK, CLI\] Added the `cvat_sdk.auto_annotation`
  module, providing functionality to automatically annotate tasks
  by executing a user-provided function on the local machine.
  A corresponding CLI command (`auto-annotate`) is also available.
  Some predefined functions using torchvision are also available.
  (<#6483>,
  <#6649>)
- Included an indication for cached frames in the interface
  (<#6586>)

### Changed

- Raised the default guide assets limitations to 30 assets,
  with a maximum size of 10MB each
  (<#6575>)
- \[SDK\] Custom `ProgressReporter` implementations should now override `start2` instead of `start`
  The old implementation is still supported.
  (<#6556>)
- Improved memory optimization and code in the decoding module (<#6585>)

### Removed

- Removed the YOLOv5 serverless function
  (<#6618>)

### Fixed

- Corrected an issue where the prebuilt FFmpeg bundled in PyAV
  was being used instead of the custom build.
- Fixed the filename for labels in the CamVid format (<#6600>)
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Oct 25, 2023
These serve as a replacement for YOLOv8n that was removed in cvat-ai#6632.

To support these functions, I also add an ability to define
parameterized functions for use with the CLI.
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

Successfully merging this pull request may close these issues.

2 participants