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

Release v2.27.0 #9048

Merged
merged 25 commits into from
Feb 4, 2025
Merged

Release v2.27.0 #9048

merged 25 commits into from
Feb 4, 2025

Conversation

cvat-bot[bot]
Copy link
Contributor

@cvat-bot cvat-bot bot commented Feb 4, 2025

Added

Changed

Fixed

cvat-bot bot and others added 25 commits January 29, 2025 18:42
- Added lazy ellipse mask / RLE computation (OpenCV's ellipse() is quite slow with big masks)
- Removed simultaneous mask materialization for all masks on the image in segmentation matching
- Added batch size restriction in bulk saving of quality reports
This has two main goals:

1. Move all validation that does not depend on the task we're annotating
   from `_AnnotationMapper` and to `DetectorFunctionSpec`. This a) splits
   the code into more manageable chunks, and b) works better with the agent
   workflow, because the CLI `function` commands can reject an invalid
   function spec immediately (rather than waiting until the first request).

   (Frankly, I don't know why I didn't put this code in
   `DetectorFunctionSpec` in the first place, given that it implements the
   restrictions described in the docstring...)

   Validating the spec upon construction requires that the spec is not
   modified afterwards. This has always been my intention, but to make it
   clearer, state it explicitly in the docstring.

2. Restructure the rest of the code into smaller functions. This should
   not introduce any differences in behavior.
Added an input field to detector runner UI with threshold parameter. Theparameter already supported by the server.
Removed mentions of Masked RCNN from the website and README
Updated detectors documentation screenshots
These are unnecessary and when they're not updated in sync with
`docker-compose.yml` (like now) they cause HTTPS deployments to use an
outdated version of Traefik.
…ing (#9005)

These changes are meant to enforce several conditions:

1. A function should not be able to create shapes of type incompatible
   with the type of the label it declares (for example, if a
   function's label has type `rectangle`, it should not be able to create
   ellipses with that label).

2. A function should not be able to create shapes of type incompatible
   with the type of the label in the task being annotated.

3. If a function's declared label has a type incompatible with the type
   of the corresponding task label, then it should not run at all (since it
   would be impossible for it to output a shape with that label that
   wouldn't violate either condition 1 or 2).

Altogether, these restrictions ensure that we don't create any shapes in
a task that aren't compatible with that task's label types.

In addition, set explicit label types for the predefined functions.
Continuing to remove black exceptions.
Fixed text 'ellipsis' and tooltip on frame name
Copy link

sonarqubecloud bot commented Feb 4, 2025

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 62.23629% with 358 lines in your changes missing coverage. Please review.

Project coverage is 73.42%. Comparing base (af218dd) to head (5e77f3b).
Report is 44 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9048      +/-   ##
==========================================
+ Coverage   73.41%   73.42%   +0.01%     
==========================================
  Files         416      419       +3     
  Lines       44198    44351     +153     
  Branches     3860     3875      +15     
==========================================
+ Hits        32447    32564     +117     
- Misses      11751    11787      +36     
Components Coverage Δ
cvat-ui 77.41% <82.97%> (+0.01%) ⬆️
cvat-server 70.11% <61.15%> (+0.01%) ⬆️

@cvat-bot cvat-bot bot merged commit 2839c5c into master Feb 4, 2025
31 checks passed
@cvat-bot cvat-bot bot deleted the release-2.27.0 branch February 4, 2025 10:18
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.

8 participants