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

Honey pot server #6204

Merged
merged 282 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
89d3943
added new job component
klakhov Apr 21, 2023
e1f9d4a
added jobs list, quality report base
klakhov Apr 21, 2023
d1ccf0d
Add test stubs
zhiltsov-max Apr 21, 2023
6e4a990
Add basic impl
zhiltsov-max Apr 21, 2023
d556e43
Add draft implementation for quality reports computations
zhiltsov-max Apr 22, 2023
9d4e9b8
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Apr 22, 2023
7c00813
added colors for quality page
klakhov Apr 23, 2023
bf34683
Update the comparison script
zhiltsov-max Apr 24, 2023
6eb07f2
Add missing files for scheduler
zhiltsov-max Apr 24, 2023
cc9b125
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Apr 24, 2023
c40aac5
added show/hide GT annotations
klakhov Apr 25, 2023
bc02dcb
updated getting quality reports
klakhov Apr 26, 2023
59e0af7
Return included frames info for image segments
zhiltsov-max Apr 27, 2023
6d4f385
Server updates
zhiltsov-max Apr 27, 2023
a94ade9
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Apr 27, 2023
7e6497c
Add debug config for queue
zhiltsov-max Apr 27, 2023
992156f
Add local debugging config
zhiltsov-max Apr 27, 2023
2fe6440
Add quality_report id in responses
zhiltsov-max Apr 27, 2023
eab1c83
Allow all job types in job creation api schema
zhiltsov-max Apr 27, 2023
e7366de
Add report downloading endpoint
zhiltsov-max Apr 27, 2023
975c3dc
Update schema
zhiltsov-max Apr 27, 2023
6915c03
added conflicts, fixed bugs
klakhov Apr 28, 2023
a0b4fcf
fixed conflicts on changing frames
klakhov Apr 28, 2023
7114315
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Apr 28, 2023
ffcc8f8
Fix permission error
zhiltsov-max Apr 28, 2023
b3619e1
added fetch all for conflicts, gt info to sidebar
klakhov Apr 28, 2023
76713e2
Fix counts
zhiltsov-max Apr 28, 2023
4562c35
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max Apr 28, 2023
34a084b
added frame intersection to table, changed dashes
klakhov Apr 28, 2023
96cef16
Implement permission checks for new endpoints
zhiltsov-max Apr 28, 2023
2e61c61
fixed getting job if task is not available
klakhov Apr 28, 2023
05c13d1
hide gt annotations on conflict
klakhov Apr 28, 2023
4fe0418
Add low overlap conflict type
zhiltsov-max Apr 28, 2023
a88ef05
Refactor some code
zhiltsov-max Apr 28, 2023
35286b4
optimizations - pre test full exclude
zhiltsov-max Apr 30, 2023
39f7d82
optimization - full annotation filtering
zhiltsov-max Apr 30, 2023
cf86e79
Fix error in report
zhiltsov-max Apr 30, 2023
f1ffc3e
Refactor some code
zhiltsov-max May 1, 2023
d5edfa2
Extend shape type in annotation ids
zhiltsov-max May 1, 2023
b457518
Fix job removal
zhiltsov-max May 1, 2023
4ce4e7d
Fix interpolation for post end_frame fragment
zhiltsov-max May 1, 2023
1662306
Add conflict id in responses
zhiltsov-max May 1, 2023
fab0f8e
Add simple validation on report saving
zhiltsov-max May 1, 2023
d9d53eb
Fix db problems
zhiltsov-max May 1, 2023
7f33edb
Add server ids for tracks
zhiltsov-max May 1, 2023
40620e9
Fix track import
zhiltsov-max May 1, 2023
ba5a926
Fix incorrect computation for task progress
zhiltsov-max May 1, 2023
385f5f1
Remove validation for better performance
zhiltsov-max May 1, 2023
c04bb97
Optimize performance, load only intersection frames
zhiltsov-max May 1, 2023
9cc35bb
truncated numbers
klakhov May 2, 2023
7260262
Add mask-polygon comparisons, remove whole dataset stats from report
zhiltsov-max May 2, 2023
f9b7177
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max May 2, 2023
2723769
Fix frame matching
zhiltsov-max May 3, 2023
dce6673
tried to fix conflicts for masks/skeletons
klakhov May 3, 2023
268a565
Implement correct line comparisons
zhiltsov-max May 4, 2023
6965e16
Add early exit
zhiltsov-max May 4, 2023
15fe2ff
Optimizations, stability improvements
zhiltsov-max May 4, 2023
141d6b1
Use stronger filtration for lines in comparison
zhiltsov-max May 5, 2023
cb038c9
Update debug configuration for scheduler
zhiltsov-max May 5, 2023
005fef6
Merge branch 'develop' into zm/gt-jobs
klakhov May 5, 2023
7605db3
Fix ann comparisons and line approximation
zhiltsov-max May 5, 2023
d11b6dd
Fix ui code
zhiltsov-max May 5, 2023
6aa5c9d
Add bbox rotation support, attribute and group matching
zhiltsov-max May 6, 2023
410d916
Fix import for checkbox with default value
zhiltsov-max May 7, 2023
57cbcbe
Add object coverage checks
zhiltsov-max May 7, 2023
b72a438
Fix and optimize coverage checks
zhiltsov-max May 7, 2023
89a7183
Change approach to check visibility
zhiltsov-max May 7, 2023
865a31e
Improve group matching approach
zhiltsov-max May 8, 2023
191659e
Implement panoptic comparison and grouping support for segmentations
zhiltsov-max May 8, 2023
6edd5ff
Improved group comparison, make panoptic mode optional, refactor some…
zhiltsov-max May 9, 2023
3471276
Fix job queuing
zhiltsov-max May 9, 2023
92ea805
Sync report data
zhiltsov-max May 10, 2023
0fab98c
Add conflict importance and summary info
zhiltsov-max May 10, 2023
0f65e1e
Refactor comparison parameters, add more settings
zhiltsov-max May 10, 2023
20e6f06
Add quality settings api
zhiltsov-max May 10, 2023
a919b46
Initialize quality settings on task creation
zhiltsov-max May 11, 2023
f2c1e01
Add access rules to new endpoints
zhiltsov-max May 11, 2023
637615b
Update .vscode/launch.json
zhiltsov-max May 11, 2023
b369450
Fix debug task name
zhiltsov-max May 11, 2023
1c708e5
Fix frame retrieval error in non-first jobs
zhiltsov-max May 11, 2023
decccb7
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max May 11, 2023
00813cd
Fix points matching
zhiltsov-max May 11, 2023
dbc2a48
Rename NORMAL to ANNOTATION job type
zhiltsov-max May 12, 2023
533ef8d
Add frame results in the task report
zhiltsov-max May 12, 2023
dbfd59a
Handle the case with no matches
zhiltsov-max May 12, 2023
b3144ff
added raw conflict frame filter
klakhov May 12, 2023
3fb345e
changed job type to normal
klakhov May 12, 2023
c7963f9
Add annotation links in the downloaded report
zhiltsov-max May 12, 2023
7103954
Merge commit 'b3144ff' into zm/gt-jobs
zhiltsov-max May 12, 2023
c5d7163
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max May 12, 2023
b76d93c
Revert "changed job type to normal"
zhiltsov-max May 12, 2023
eca2319
Fix frame share values in reports
zhiltsov-max May 12, 2023
15bcac7
Extract quality to a separate app, add migrations and settings
zhiltsov-max May 16, 2023
6f93200
Add an option to set quality check delay via env vars
zhiltsov-max May 16, 2023
2f4a138
Refactor rqscheduler script and fix pylint
zhiltsov-max May 16, 2023
e6a4c55
Disable quality reports for 3d tasks
zhiltsov-max May 17, 2023
7e0dca7
Add conflict distribution by type info in the report and general info
zhiltsov-max May 17, 2023
66fb920
Fix operation naming in schema
zhiltsov-max May 17, 2023
9e82b30
Merge branch 'develop' into zm/gt-jobs
klakhov May 18, 2023
ceefdf4
updated create job form
klakhov May 18, 2023
29678f9
added analytics title
klakhov May 18, 2023
d5fc9aa
updated mean accuracy card
klakhov May 18, 2023
d90a1c0
Update test assets
zhiltsov-max May 18, 2023
e8b4d4f
Update gt job creation tests
zhiltsov-max May 18, 2023
177a580
Make quality_settings field optional in the responses
zhiltsov-max May 18, 2023
ee1bbf1
Fix migration
zhiltsov-max May 18, 2023
bd8cb30
Fix time comparison
zhiltsov-max May 18, 2023
73d3692
Fix summary fields in create responses, avoid races
zhiltsov-max May 18, 2023
98f6278
Avoid quality report updates in tests
zhiltsov-max May 18, 2023
421fcf5
Add tests for quality endpoints
zhiltsov-max May 18, 2023
ac6aa97
Format code
zhiltsov-max May 18, 2023
7ccf16d
added gt conflicts card
klakhov May 19, 2023
f410a84
added issues card
klakhov May 19, 2023
1f12173
Add more quality tests
zhiltsov-max May 19, 2023
2aa1eee
updated analytics utility functions
klakhov May 19, 2023
ac4e56f
added quality reports hint
klakhov May 19, 2023
8f519cb
updated job card
klakhov May 19, 2023
17b2783
added ability to delete jobs
klakhov May 19, 2023
819d347
improved job card on smaller screens
klakhov May 19, 2023
c11d2a6
added empty job card
klakhov May 19, 2023
c7cbaf8
Merge branch 'zm/gt-jobs' of https://github.com/cvat-ai/cvat into zm/…
klakhov May 19, 2023
5d536dc
Add quality reports creation endpoint
zhiltsov-max May 19, 2023
7aa9027
Merge remote-tracking branch 'origin/zm/gt-jobs' into zm/gt-jobs
zhiltsov-max May 19, 2023
994a3de
Fix report computation
zhiltsov-max May 19, 2023
54f15e2
Allow optional request body, fix some apis schema
zhiltsov-max May 19, 2023
f488734
Add tests for report creation by request
zhiltsov-max May 19, 2023
98a2ff4
Revert some changes in api
zhiltsov-max May 19, 2023
57231df
Fix list test
zhiltsov-max May 19, 2023
6f07b83
Fix set intersection
zhiltsov-max May 19, 2023
37c3dc8
improved tooltips
klakhov May 20, 2023
546154a
updated table to new design, added sorting
klakhov May 20, 2023
bb8c0d8
updated adaptive job card
klakhov May 20, 2023
63b24fc
added quality settings
klakhov May 20, 2023
6d750fe
updated job item
klakhov May 21, 2023
4e3f2e7
refactored job list, added filtering/sorting
klakhov May 21, 2023
3195f6d
added type filter
klakhov May 21, 2023
c8da689
added colors to conflicts, conflict position
klakhov May 21, 2023
1f04dd3
moved switch to objects sidebar
klakhov May 21, 2023
20f15b1
refactored issues view
klakhov May 21, 2023
3d6340a
changed tasks breakpoints
klakhov May 21, 2023
3186001
improved issue first comment
klakhov May 21, 2023
66be4d0
added conflicts to sidebar
klakhov May 21, 2023
e96889e
added highlight feature
klakhov May 21, 2023
8a4a8dc
activate object from conflict
klakhov May 21, 2023
99bb87c
make inactive conflicts darker
klakhov May 21, 2023
56be78f
fixed show gt annotations position
klakhov May 21, 2023
8e16eeb
fixed scaling problem
klakhov May 21, 2023
6476cf4
added icon to issue sidebar
klakhov May 22, 2023
291b499
added colors to warnings
klakhov May 22, 2023
db8286b
show gt icon only in review workspace
klakhov May 22, 2023
7046c0a
fixed multiple objects highlight
klakhov May 22, 2023
efd76d9
Check quality after settings updated
zhiltsov-max May 22, 2023
56cfbe0
Improve settings dialog layout
zhiltsov-max May 22, 2023
54c4025
Fix several UI failures
zhiltsov-max May 22, 2023
b42a29a
Init quality settings on job creation
zhiltsov-max May 22, 2023
2958aac
Add settings patching tests
zhiltsov-max May 22, 2023
69d0643
Add more permission tests for endpoints
zhiltsov-max May 22, 2023
3ee41e6
Fix frame count display
zhiltsov-max May 23, 2023
1b54265
Add report content tests
zhiltsov-max May 23, 2023
6aa931f
Extend job result ttl, remove debug endpoint
zhiltsov-max May 24, 2023
9be819c
Remove comparison script
zhiltsov-max May 24, 2023
637841b
Polish quality tests
zhiltsov-max May 24, 2023
bb1c107
Fix frame naming in interpolation tasks
zhiltsov-max May 25, 2023
674ba56
Add draft solution for frame skips in chunks
zhiltsov-max May 25, 2023
412603c
Fix job removal
zhiltsov-max May 25, 2023
8c56cea
Polish some code
zhiltsov-max May 25, 2023
6ee3974
Add gt job data tests
zhiltsov-max May 26, 2023
bdfe614
Add squashed migration
zhiltsov-max May 26, 2023
ea8331a
Replace squashed migrations
zhiltsov-max May 26, 2023
8ee0000
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max May 26, 2023
226e8b5
Fix quality settings defaults installation
zhiltsov-max May 26, 2023
da50bf5
Fix pylint messages
zhiltsov-max May 26, 2023
140105e
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max May 26, 2023
8ffab84
Fix task mode in tasks from backup
zhiltsov-max May 26, 2023
504b4c0
Support drf-spectacular 0.26.2
zhiltsov-max May 26, 2023
d2eee3f
Merge test assets
zhiltsov-max May 26, 2023
25f61c4
Remove UI changes
zhiltsov-max May 26, 2023
56c27a2
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max May 26, 2023
35d1918
Fix remaining places with org_id query params
zhiltsov-max May 26, 2023
b6117bd
Fix merge
zhiltsov-max May 26, 2023
76e2942
Fix some permission problems
zhiltsov-max May 26, 2023
6cd3dc3
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 26, 2023
fa34b76
Drop ui changes
zhiltsov-max May 26, 2023
50c695e
Fix access permissions
zhiltsov-max May 29, 2023
6766e8a
Fix an error arising in rq worker debugging
zhiltsov-max May 29, 2023
484b75a
Move test setting declaration
zhiltsov-max May 29, 2023
32f80b1
Fix access permissions
zhiltsov-max May 29, 2023
7a0bbff
Fix an error arising in rq worker debugging
zhiltsov-max May 29, 2023
9294e9b
Move test setting declaration
zhiltsov-max May 29, 2023
6ccbff7
Add settings list endpoint
zhiltsov-max May 30, 2023
ded60d9
Update schema
zhiltsov-max May 30, 2023
fc7fa37
Fix CI
zhiltsov-max May 30, 2023
731c4f0
Add quality settings list endpoint
zhiltsov-max May 30, 2023
d4e0e47
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 30, 2023
7434d48
Fix CI
zhiltsov-max May 30, 2023
b5331af
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 30, 2023
3de9f6b
Fix interpolation tests
zhiltsov-max May 30, 2023
66c6474
Revert change for outside shapes
zhiltsov-max May 30, 2023
ce82601
Fix track merging
zhiltsov-max May 30, 2023
b3fcd51
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 30, 2023
88ed6d8
Fix test requirements
zhiltsov-max May 31, 2023
0d7e59f
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max May 31, 2023
0c5a6e5
Update frame shape percent
zhiltsov-max Jun 1, 2023
7151ddc
Add field descriptions in the quality settings api
zhiltsov-max Jun 1, 2023
a7b3ef3
Merge branch 'develop' into zm/gt-jobs
zhiltsov-max Jun 1, 2023
14875d2
Update wrt iam changes
zhiltsov-max Jun 1, 2023
ebd6061
Merge branch 'zm/gt-jobs' into zm/honey-pot-server
zhiltsov-max Jun 1, 2023
0a291a5
Implement asgi server debugging
zhiltsov-max Jun 1, 2023
3416e87
Clear data cache
zhiltsov-max Jun 1, 2023
3520d94
Fix frame range in job meta and ui handling
zhiltsov-max Jun 1, 2023
97871ae
Add helm config for quality reports worker
zhiltsov-max Jun 2, 2023
620ea2e
fix name
zhiltsov-max Jun 2, 2023
0720625
Fix comments
zhiltsov-max Jun 2, 2023
3aaba28
Add more tests
zhiltsov-max Jun 2, 2023
04604d7
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 2, 2023
a708cb9
Rename worker in helm
zhiltsov-max Jun 2, 2023
bdfe70b
Fix formatting
zhiltsov-max Jun 2, 2023
0a84f76
Update rqscheduler to use asgi
zhiltsov-max Jun 5, 2023
58e8fa9
Apply suggestions from code review
zhiltsov-max Jun 5, 2023
3257cd6
Remove extra permission checks
zhiltsov-max Jun 5, 2023
866f626
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 5, 2023
9bc966f
Fix method
zhiltsov-max Jun 5, 2023
11db795
Fix script name
zhiltsov-max Jun 5, 2023
f4423d9
Enable code formatting for the quality control app
zhiltsov-max Jun 6, 2023
b66a296
renamed `frame_meta` to `frameMeta`
klakhov Jun 6, 2023
8f78184
Merge branch 'zm/honey-pot-server' of https://github.com/cvat-ai/cvat…
klakhov Jun 6, 2023
e4bd960
Fix python linters
zhiltsov-max Jun 6, 2023
f5d3fa0
Merge remote-tracking branch 'origin/zm/honey-pot-server' into zm/hon…
zhiltsov-max Jun 6, 2023
05b9fa0
Remove query params with no values from schema
zhiltsov-max Jun 7, 2023
ee3891f
Improve some descriptions in api
zhiltsov-max Jun 7, 2023
87782cc
Rename importance to severity
zhiltsov-max Jun 7, 2023
cf4a4f3
Update some descriptions
zhiltsov-max Jun 7, 2023
732bb18
Update tests
zhiltsov-max Jun 7, 2023
1d309d7
Update tests
zhiltsov-max Jun 7, 2023
2fc2c27
Update changelog
zhiltsov-max Jun 7, 2023
bd23e22
Rename line orientation parameter
zhiltsov-max Jun 7, 2023
6bd00c6
Update frame share percent
zhiltsov-max Jun 7, 2023
71f7bfd
Fix schema
zhiltsov-max Jun 7, 2023
7147ed1
Don't remove frame_share from report data
zhiltsov-max Jun 8, 2023
17fad17
Remove parameters from reports list
zhiltsov-max Jun 8, 2023
27dcfd6
Use condensed db repr for report data, disjoint ann_id.type,
zhiltsov-max Jun 8, 2023
ea3cbc3
Fix schema
zhiltsov-max Jun 8, 2023
5d5985d
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 8, 2023
67b943b
Update migrations
zhiltsov-max Jun 8, 2023
0999497
Fix lambda function runs on job a frame
zhiltsov-max Jun 9, 2023
ce00104
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 9, 2023
080fa8e
Merge migrations
zhiltsov-max Jun 9, 2023
8a4ed6c
Fix gt job frames in complex setups
zhiltsov-max Jun 9, 2023
f80fbe0
Fix stop_frame
zhiltsov-max Jun 9, 2023
0e122a9
Merge branch 'develop' into zm/honey-pot-server
zhiltsov-max Jun 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
cvat-sdk/**/*.py
cvat-cli/**/*.py
tests/python/**/*.py
cvat/apps/quality_control/**/*.py
dir_names: true

- name: Run checks
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/isort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
cvat-sdk/**/*.py
cvat-cli/**/*.py
tests/python/**/*.py
cvat/apps/quality_control/**/*.py
dir_names: true

- name: Run checks
Expand Down
54 changes: 49 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,26 @@
],
"justMyCode": false,
},
{
"name": "REST API tests: Attach to RQ quality reports worker",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 9094
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/home/django/"
},
{
"localRoot": "${workspaceFolder}/.env",
"remoteRoot": "/opt/venv",
}
],
"justMyCode": false,
},
{
"type": "pwa-chrome",
"request": "launch",
Expand Down Expand Up @@ -199,21 +219,44 @@
"console": "internalConsole"
},
{
"name": "server: RQ - scheduler",
"name": "server: RQ - quality reports",
sizov-kirill marked this conversation as resolved.
Show resolved Hide resolved
"type": "python",
"request": "launch",
"stopOnEntry": false,
"justMyCode": false,
"python": "${command:python.interpreterPath}",
"program": "${workspaceRoot}/manage.py",
"args": [
"rqscheduler",
"--queue",
"export"
"rqworker",
"quality_reports",
"--worker-class",
"cvat.rqworker.SimpleWorker",
],
"django": true,
"cwd": "${workspaceFolder}",
"env": {},
"env": {
"DJANGO_LOG_SERVER_HOST": "localhost",
"DJANGO_LOG_SERVER_PORT": "8282"
},
"console": "internalConsole"
},
{
"name": "server: RQ - scheduler",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"justMyCode": false,
"python": "${command:python.interpreterPath}",
"program": "${workspaceRoot}/rqscheduler.py",
"django": true,
"cwd": "${workspaceFolder}",
"args": [
"-i", "1"
],
"env": {
"DJANGO_LOG_SERVER_HOST": "localhost",
"DJANGO_LOG_SERVER_PORT": "8282"
},
"console": "internalConsole"
},
{
Expand Down Expand Up @@ -455,6 +498,7 @@
"server: RQ - annotation",
"server: RQ - webhooks",
"server: RQ - scheduler",
"server: RQ - quality reports",
"server: RQ - cleaning",
"server: git",
]
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## \[2.5.0] - Unreleased
### Added
- New option ``semi-auto`` is available as annotations source (<https://github.com/opencv/cvat/pull/6263>)
- \[API\] Support for Ground Truth job creation and removal (<https://github.com/opencv/cvat/pull/6204>)
- \[API\] Task quality estimation endpoints (<https://github.com/opencv/cvat/pull/6204>)

### Changed
- TDB

### Changed
Expand Down Expand Up @@ -42,8 +47,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Deletion of uploaded files, including annotations and backups,
after they have been uploaded to the server using the TUS protocol but before an RQ job has been initiated. (<https://github.com/opencv/cvat/pull/5909>)
- Simultaneous creation of tasks or projects with identical names from backups by multiple users.(<https://github.com/opencv/cvat/pull/5909>)
- \[Server API\] The `predefined` sorting method for task data uploads (<https://github.com/opencv/cvat/pull/5083>)
- \[API\] The `predefined` sorting method for task data uploads (<https://github.com/opencv/cvat/pull/5083>)
- Allowed slashes in export filenames. (<https://github.com/opencv/cvat/pull/6265>)
- Dataset export error with `outside` property of tracks (<https://github.com/opencv/cvat/issues/5971>)

## \[2.4.5] - 2023-06-02
### Added
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ COPY --chown=${USER} ssh ${HOME}/.ssh
COPY --chown=${USER} wait-for-it.sh manage.py backend_entrypoint.sh ${HOME}/
COPY --chown=${USER} utils/ ${HOME}/utils
COPY --chown=${USER} cvat/ ${HOME}/cvat
COPY --chown=${USER} rqscheduler.py ${HOME}

ARG COVERAGE_PROCESS_START
RUN if [ "${COVERAGE_PROCESS_START}" ]; then \
Expand Down
11 changes: 5 additions & 6 deletions cvat-core/src/frames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,20 +317,19 @@ FrameData.prototype.data.implementation = async function (onServerRequest) {

function getFrameMeta(jobID, frame): FramesMetaData['frames'][0] {
const { meta, mode, startFrame } = frameDataCache[jobID];
let size = null;
let frameMeta = null;
if (mode === 'interpolation') {
[size] = meta.frames;
[frameMeta] = meta.frames;
} else if (mode === 'annotation') {
if (frame >= meta.size) {
if (frame > meta.stop_frame) {
throw new ArgumentError(`Meta information about frame ${frame} can't be received from the server`);
} else {
size = meta.frames[frame - startFrame];
}
frameMeta = meta.frames[frame - startFrame];
} else {
throw new DataError(`Invalid mode is specified ${mode}`);
}

return size;
return frameMeta;
}

class FrameBuffer {
Expand Down
Loading