Skip to content

Commit

Permalink
Merge pull request #8758 from cvat-ai/release-2.23.0
Browse files Browse the repository at this point in the history
Release v2.23.0
  • Loading branch information
cvat-bot[bot] authored Nov 29, 2024
2 parents c737f08 + bc9c1bc commit 424142e
Show file tree
Hide file tree
Showing 132 changed files with 3,857 additions and 1,450 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Install SDK
run: |
pip3 install -r ./tests/python/requirements.txt \
-e './cvat-sdk[pytorch]' -e ./cvat-cli \
-e './cvat-sdk[masks,pytorch]' -e ./cvat-cli \
--extra-index-url https://download.pytorch.org/whl/cpu
- name: Running REST API and SDK tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
- name: Install SDK
run: |
pip3 install -r ./tests/python/requirements.txt \
-e './cvat-sdk[pytorch]' -e ./cvat-cli \
-e './cvat-sdk[masks,pytorch]' -e ./cvat-cli \
--extra-index-url https://download.pytorch.org/whl/cpu
- name: Run REST API and SDK tests
Expand Down
30 changes: 27 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "REST API tests: Attach to server",
"type": "debugpy",
Expand Down Expand Up @@ -168,7 +169,7 @@
"CVAT_SERVERLESS": "1",
"ALLOWED_HOSTS": "*",
"DJANGO_LOG_SERVER_HOST": "localhost",
"DJANGO_LOG_SERVER_PORT": "8282"
"DJANGO_LOG_SERVER_PORT": "8282",
},
"args": [
"runserver",
Expand All @@ -178,7 +179,7 @@
],
"django": true,
"cwd": "${workspaceFolder}",
"console": "internalConsole"
"console": "internalConsole",
},
{
"name": "server: chrome",
Expand Down Expand Up @@ -360,6 +361,28 @@
},
"console": "internalConsole"
},
{
"name": "server: RQ - chunks",
"type": "debugpy",
"request": "launch",
"stopOnEntry": false,
"justMyCode": false,
"python": "${command:python.interpreterPath}",
"program": "${workspaceFolder}/manage.py",
"args": [
"rqworker",
"chunks",
"--worker-class",
"cvat.rqworker.SimpleWorker"
],
"django": true,
"cwd": "${workspaceFolder}",
"env": {
"DJANGO_LOG_SERVER_HOST": "localhost",
"DJANGO_LOG_SERVER_PORT": "8282"
},
"console": "internalConsole"
},
{
"name": "server: migrate",
"type": "debugpy",
Expand Down Expand Up @@ -553,7 +576,8 @@
"server: RQ - scheduler",
"server: RQ - quality reports",
"server: RQ - analytics reports",
"server: RQ - cleaning"
"server: RQ - cleaning",
"server: RQ - chunks",
]
}
]
Expand Down
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
"database": "${workspaceFolder:cvat}/db.sqlite3"
}
],
"python.analysis.exclude": [
// VS Code defaults
"**/node_modules",
"**/__pycache__",
".git",

"cvat-cli/build",
"cvat-sdk/build",
],
"python.defaultInterpreterPath": "${workspaceFolder}/.env/",
"python.testing.pytestArgs": [
"--rootdir","${workspaceFolder}/tests/"
Expand Down
159 changes: 136 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,112 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- scriv-insert-here -->

<a id='changelog-2.23.0'></a>
## \[2.23.0\] - 2024-11-29

### Added

- Support for direct .json file import in Datumaro format
(<https://github.com/opencv/cvat/pull/7125>)

- \[SDK, CLI\] Added a `conf_threshold` parameter to
`cvat_sdk.auto_annotation.annotate_task`, which is passed as-is to the AA
function object via the context. The CLI equivalent is `auto-annotate
--conf-threshold`. This makes it easier to write and use AA functions that
support object filtering based on confidence levels
(<https://github.com/cvat-ai/cvat/pull/8688>)

- \[SDK\] Built-in auto-annotation functions now support object filtering by
confidence level
(<https://github.com/cvat-ai/cvat/pull/8688>)

- New events (create|update|delete):(membership|webhook) and (create|delete):invitation
(<https://github.com/cvat-ai/cvat/pull/8616>)

- \[SDK\] Added new auto-annotation helpers (`mask`, `polygon`, `encode_mask`)
to support AA functions that return masks or polygons
(<https://github.com/cvat-ai/cvat/pull/8724>)

- \[SDK\] Added a new built-in auto-annotation function,
`torchvision_instance_segmentation`
(<https://github.com/cvat-ai/cvat/pull/8724>)

- \[SDK, CLI\] Added a new auto-annotation parameter, `conv_mask_to_poly`
(`--conv-mask-to-poly` in the CLI)
(<https://github.com/cvat-ai/cvat/pull/8724>)

- A user may undo or redo changes, made by an annotations actions using general approach (e.g. Ctrl+Z, Ctrl+Y)
(<https://github.com/cvat-ai/cvat/pull/8727>)

- Basically, annotations actions now support any kinds of objects (shapes, tracks, tags)
(<https://github.com/cvat-ai/cvat/pull/8727>)

- A user may run annotations actions on a certain object (added corresponding object menu item)
(<https://github.com/cvat-ai/cvat/pull/8727>)

- A shortcut to open annotations actions modal for a currently selected object
(<https://github.com/cvat-ai/cvat/pull/8727>)

- A default role if IAM_TYPE='LDAP' and if the user is not a member of any group in 'DJANGO_AUTH_LDAP_GROUPS' (<https://github.com/cvat-ai/cvat/pull/8708>)

- The `POST /api/lambda/requests` endpoint now has a `conv_mask_to_poly`
parameter with the same semantics as the old `convMaskToPoly` parameter
(<https://github.com/cvat-ai/cvat/pull/8743>)

- \[SDK\] Model instances can now be pickled
(<https://github.com/cvat-ai/cvat/pull/8746>)

### Changed

- Chunks are now prepared in a separate worker process
(<https://github.com/cvat-ai/cvat/pull/8618>)

- \[Helm\] Traefik sticky sessions for the backend service are disabled
(<https://github.com/cvat-ai/cvat/pull/8659>)

- Payload for events (create|update|delete):(shapes|tags|tracks) does not include frame and attributes anymore
(<https://github.com/cvat-ai/cvat/pull/8616>)

### Deprecated

- The `convMaskToPoly` parameter of the `POST /api/lambda/requests` endpoint
is deprecated; use `conv_mask_to_poly` instead
(<https://github.com/cvat-ai/cvat/pull/8743>)

### Removed

- It it no longer possible to run lambda functions on compressed images;
original images will always be used
(<https://github.com/cvat-ai/cvat/pull/8683>)

### Fixed

- Export without images in Datumaro format should include image info
(<https://github.com/opencv/cvat/pull/7125>)

- Inconsistent zOrder behavior on job open
(<https://github.com/cvat-ai/cvat/pull/8669>)

- Ground truth annotations can be shown in standard mode
(<https://github.com/cvat-ai/cvat/pull/8675>)

- Keybinds in UI allow drawing disabled shape types
(<https://github.com/cvat-ai/cvat/pull/8685>)

- Style issues on the Quality page when browser zoom is applied
(<https://github.com/cvat-ai/cvat/pull/8698>)
- Flickering of masks in review mode, even when no conflicts are highlighted
(<https://github.com/cvat-ai/cvat/pull/8698>)

- Fixed security header duplication in HTTP responses from the backend
(<https://github.com/cvat-ai/cvat/pull/8726>)

- The error occurs when trying to copy/paste a mask on a video after opening the job
(<https://github.com/cvat-ai/cvat/pull/8728>)

- Attributes do not get copied when copy/paste a mask
(<https://github.com/cvat-ai/cvat/pull/8728>)

<a id='changelog-2.22.0'></a>
## \[2.22.0\] - 2024-11-11

Expand Down Expand Up @@ -87,7 +193,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(<https://github.com/cvat-ai/cvat/pull/8586>)

- Tags in ground truth job couldn't be deleted via `x` button
(<https://github.com/cvat-ai/cvat/pull/8586>)
(<https://github.com/cvat-ai/cvat/pull/8586>)

- Exception 'Canvas is busy' when change frame during drag/resize a track
(<https://github.com/cvat-ai/cvat/pull/8598>)
Expand Down Expand Up @@ -377,7 +483,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated

- Client events `upload:annotations`, `lock:object`, `change:attribute`, `change:label`
(<https://github.com/cvat-ai/cvat/pull/8304>)
(<https://github.com/cvat-ai/cvat/pull/8304>)

### Removed

Expand All @@ -404,7 +510,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(<https://github.com/cvat-ai/cvat/pull/8216>)

- Sometimes it is not possible to switch workspace because active control broken after
trying to create a tag with a shortcut (<https://github.com/cvat-ai/cvat/pull/8334>)
trying to create a tag with a shortcut
(<https://github.com/cvat-ai/cvat/pull/8334>)

<a id='changelog-2.16.3'></a>
## \[2.16.3\] - 2024-08-13
Expand Down Expand Up @@ -445,13 +552,14 @@ trying to create a tag with a shortcut (<https://github.com/cvat-ai/cvat/pull/83
### Fixed

- Copy/paste annotation guide with assets did not work, showing the message
**Asset is already related to another guide** (<https://github.com/cvat-ai/cvat/pull/7989>)
**Asset is already related to another guide**
(<https://github.com/cvat-ai/cvat/pull/7989>)

- Undo can't be done when a shape is rotated
(<https://github.com/cvat-ai/cvat/pull/8129>)

- Exporting a skeleton track in a format defined for shapes raises error
`operands could not be broadcast together with shapes (X, ) (Y, )`
`operands could not be broadcast together with shapes (X, ) (Y, )`
(<https://github.com/cvat-ai/cvat/pull/8179>)

- Delete label modal window does not have cancellation button
Expand All @@ -470,10 +578,11 @@ trying to create a tag with a shortcut (<https://github.com/cvat-ai/cvat/pull/83
(<https://github.com/cvat-ai/cvat/pull/8206>)

- API call to run automatic annotations fails on a model with attributes
when mapping not provided in the request (<https://github.com/cvat-ai/cvat/pull/8250>)
when mapping not provided in the request
(<https://github.com/cvat-ai/cvat/pull/8250>)

- Fixed a label collision issue where labels with similar prefixes
and numeric suffixes could conflict, causing error on export.
and numeric suffixes could conflict, causing error on export.
(<https://github.com/cvat-ai/cvat/pull/8262>)

<a id='changelog-2.16.1'></a>
Expand Down Expand Up @@ -510,9 +619,9 @@ and numeric suffixes could conflict, causing error on export.
### Added

- Set of features to track background activities: importing/exporting datasets, annotations or backups, creating tasks.
Now you may find these processes on Requests page, it allows a user to understand current status of these activities
and enhances user experience, not losing progress when the browser tab is closed
(<https://github.com/cvat-ai/cvat/pull/7537>)
Now you may find these processes on Requests page, it allows a user to understand current status of these activities
and enhances user experience, not losing progress when the browser tab is closed
(<https://github.com/cvat-ai/cvat/pull/7537>)

- User now may update a job state from the corresponding task page
(<https://github.com/cvat-ai/cvat/pull/8102>)
Expand All @@ -523,7 +632,8 @@ and enhances user experience, not losing progress when the browser tab is closed
### Changed

- "Finish the job" button on annotation view now only sets state to 'completed'.
The job stage keeps unchanged (<https://github.com/cvat-ai/cvat/pull/8102>)
The job stage keeps unchanged
(<https://github.com/cvat-ai/cvat/pull/8102>)

- Log files for individual backend processes are now stored in ephemeral
storage of each backend container rather than in the `cvat_logs` volume
Expand All @@ -535,7 +645,7 @@ and enhances user experience, not losing progress when the browser tab is closed
### Removed

- Renew the job button in annotation menu was removed
(<https://github.com/cvat-ai/cvat/pull/8102>)
(<https://github.com/cvat-ai/cvat/pull/8102>)

### Fixed

Expand Down Expand Up @@ -583,10 +693,12 @@ and enhances user experience, not losing progress when the browser tab is closed
(<https://github.com/cvat-ai/cvat/pull/8039>)

- Exception 'this.el.node.getScreenCTM() is null' occuring in Firefox when
a user resizes window during skeleton dragging/resizing (<https://github.com/cvat-ai/cvat/pull/8067>)
a user resizes window during skeleton dragging/resizing
(<https://github.com/cvat-ai/cvat/pull/8067>)

- Exception 'Edge's nodeFrom M or nodeTo N do not to refer to any node'
occuring when a user resizes window during skeleton dragging/resizing (<https://github.com/cvat-ai/cvat/pull/8067>)
occuring when a user resizes window during skeleton dragging/resizing
(<https://github.com/cvat-ai/cvat/pull/8067>)

- Slightly broken layout when running attributed face detection model
(<https://github.com/cvat-ai/cvat/pull/8072>)
Expand Down Expand Up @@ -644,7 +756,8 @@ occuring when a user resizes window during skeleton dragging/resizing (<https://
(<https://github.com/cvat-ai/cvat/pull/7997>)

- When use route `/auth/login-with-token/<token>` without `next` query parameter
the page reloads infinitely (<https://github.com/cvat-ai/cvat/pull/7999>)
the page reloads infinitely
(<https://github.com/cvat-ai/cvat/pull/7999>)

- Fixed kvrocks port naming for istio
(<https://github.com/cvat-ai/cvat/pull/8010>)
Expand Down Expand Up @@ -815,7 +928,7 @@ the page reloads infinitely (<https://github.com/cvat-ai/cvat/pull/7999>)
- Opening update CS page sends infinite requests when CS id does not exist
(<https://github.com/cvat-ai/cvat/pull/7828>)

Uploading files with TUS immediately failed when one of the requests failed
- Uploading files with TUS immediately failed when one of the requests failed
(<https://github.com/cvat-ai/cvat/pull/7830>)

- Longer analytics report calculation because of inefficient requests to analytics db
Expand Down Expand Up @@ -985,7 +1098,7 @@ Uploading files with TUS immediately failed when one of the requests failed
(<https://github.com/opencv/cvat/pull/7604>)

- 90 deg-rotated video was added with "Prefer Zip Chunks" disabled
was warped, fixed using the static cropImage function.
was warped, fixed using the static cropImage function.
(<https://github.com/opencv/cvat/pull/7583>)

<a id='changelog-2.11.2'></a>
Expand Down Expand Up @@ -1023,7 +1136,7 @@ was warped, fixed using the static cropImage function.
### Added

- Single shape annotation mode allowing to easily annotate scenarious where a user
only needs to draw one object on one image (<https://github.com/opencv/cvat/pull/7486>)
only needs to draw one object on one image (<https://github.com/opencv/cvat/pull/7486>)

### Fixed

Expand Down Expand Up @@ -1151,7 +1264,7 @@ only needs to draw one object on one image (<https://github.com/opencv/cvat/pull
### Changed

- When the `ORG_INVITATION_CONFIRM` setting is enabled, organization invitations for existing users are no
longer accepted automatically. Instead, the invitee can now review the invitation and choose to accept or decline it.
longer accepted automatically. Instead, the invitee can now review the invitation and choose to accept or decline it.
(<https://github.com/opencv/cvat/pull/7138>)

- \[Compose, Helm\] Updated Clickhouse to version 23.11.*
Expand Down Expand Up @@ -1200,11 +1313,11 @@ longer accepted automatically. Instead, the invitee can now review the invitatio
(<https://github.com/opencv/cvat/pull/7299>)

- Error message `Edge's nodeFrom ${dataNodeFrom} or nodeTo ${dataNodeTo} do not to refer to any node`
when upload a file with some abscent skeleton nodes (<https://github.com/opencv/cvat/pull/7302>)
when upload a file with some abscent skeleton nodes (<https://github.com/opencv/cvat/pull/7302>)
- Wrong context menu position in skeleton configurator (Firefox only)
(<https://github.com/opencv/cvat/pull/7302>)
(<https://github.com/opencv/cvat/pull/7302>)
- Fixed console error `(Error: <rect> attribute width: A negative value is not valid`
appearing when skeleton with all outside elements is created (<https://github.com/opencv/cvat/pull/7302>)
appearing when skeleton with all outside elements is created (<https://github.com/opencv/cvat/pull/7302>)

- Updating cloud storage attached to CVAT using Azure connection string
(<https://github.com/opencv/cvat/pull/7336>)
Expand All @@ -1215,7 +1328,7 @@ longer accepted automatically. Instead, the invitee can now review the invitatio
### Added

- Introduced CVAT actions. Actions allow performing different
predefined scenarios on annotations automatically (e.g. shape converters)
predefined scenarios on annotations automatically (e.g. shape converters)
(<https://github.com/opencv/cvat/pull/7172>)

- The UI will now retry requests that were rejected due to rate limiting
Expand Down
Loading

0 comments on commit 424142e

Please sign in to comment.