-
Notifications
You must be signed in to change notification settings - Fork 39
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
[CVAT] Adapt exchange/recording oracles for honeypots #2720
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
packages/examples/cvat/exchange-oracle/src/handlers/job_creation.py
Outdated
Show resolved
Hide resolved
Need to implement the idea from the 16c67b0 description |
68e9190
to
5f4a616
Compare
zhiltsov-max
previously approved these changes
Nov 13, 2024
Dzeranov
approved these changes
Nov 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adapted CVAT Exchange and Recording oracles to use the recently introduced CVAT honeypots.
Summary of changes
Exchange oracle changes:
gt_pool
) and a specified number of validation frames per job, defined bymanifest.validation.val_size
ormanifest.validation.val_size
*job_size_mult
for skeleton tasks. Random sorting is used on CVAT when creating a task.process_incoming_job_launcher_webhooks
cron job to be able upload GT (CVAT_TASK_CREATION_CHECK_INTERVAL
env is added (default 5s)).DEFAULT_IMPORT_TIMEOUT
environment is introduced to set the upper limit of waiting when GT annotations are uploaded. The default is 1h.CVAT_MAX_VALIDATION_CHECKS
- defines the maximum number of validation checks to be performed when checking job immediate feedback on CVAT (default is 3). Keep this number small enough to avoid honeypot recognition by annotatorsCVAT_IOU_THRESHOLD
(default 0.8)CVAT_OKS_SIGMA
(default 0.1, for skeletons task)CVAT_MAX_JOBS_PER_TASK
(default 1000) that defines the maximum number of jobs that can be created in a cvat task. This allows us to avoid potential problems when working with unpaginated endpoints.Job
model now includes new non-nullable fields:start_frame
andstop_frame
. That means that db must be reset. @Dzeranovimage_points
task changed to compare user annotations with center points of GT boxes for compatibility with CVAT. This is going to be less accurate, so may lead to increased false positives and negatives during validation. Annotations are not changed.Recording oracle updates:
CVAT_URL
,CVAT_ADMIN
,CVAT_ADMIN_PASS
, andCVAT_ORG_SLUG
) (+ addedcvat_sdk
dependency).How test the changes
Related issues
Keywords for linking issues