FIRST-Tech-Challenge / fmltc

FIRST Machine Learning Toolchain
Other
38 stars 14 forks source link

Fixed issues related to labeling frames and tracking #236

Closed lizlooney closed 2 years ago

lizlooney commented 2 years ago

Reduced the time limit for retrieveTrackedBboxes and continueTracking from 25 seconds to 15 seconds.

This will fix the issue with these requests taking longer than 30 seconds and being aborted.

Changed non-error tracker logging from critical to warning.

Fixed bug where typing a label name quickly causes unlabeled frame count to be incorrect.

If the tracker doesn't find all the objects, automatically pause tracking.

github-actions[bot] commented 2 years ago

Terraform plan Succeeded for Workspace: default

Show Output ```diff An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: ! update in-place -/+ destroy and then create replacement Terraform will perform the following actions: # module.dev.google_app_engine_standard_app_version.fmltc-app-v1 will be updated in-place ! resource "google_app_engine_standard_app_version" "fmltc-app-v1" { id = "apps/ftc-ml-firstinspires-dev/services/default/versions/v1" name = "apps/ftc-ml-firstinspires-dev/services/default/versions/v1" # (9 unchanged attributes hidden) ! automatic_scaling { ! min_pending_latency = "0.100s" -> "0.1s" # (4 unchanged attributes hidden) # (1 unchanged block hidden) } ! deployment { ! zip { ! source_url = "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/bd249df523360e7484943bd8e64c6107.zip" -> "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/51e9ba2ae455d320f49f485b0254ff84.zip" # (1 unchanged attribute hidden) } } - handlers { - auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT" -> null - login = "LOGIN_OPTIONAL" -> null - security_level = "SECURE_OPTIONAL" -> null - url_regex = ".*" -> null - script { - script_path = "auto" -> null } } # (8 unchanged blocks hidden) } # module.dev.google_cloudfunctions_function.perform-action will be updated in-place ! resource "google_cloudfunctions_function" "perform-action" { id = "projects/ftc-ml-firstinspires-dev/locations/us-central1/functions/perform_action" name = "perform_action" ! source_archive_object = "cbe295649801a5bfa37a30d27beaeb7a.zip" -> "9f5fecd07c28c726e4aa077d1defbd4d.zip" # (13 unchanged attributes hidden) # (2 unchanged blocks hidden) } # module.dev.google_storage_bucket_object.app-server-archive must be replaced -/+ resource "google_storage_bucket_object" "app-server-archive" { ! content_type = "application/zip" -> (known after apply) ! crc32c = "0MlPwg==" -> (known after apply) ! detect_md5hash = "vSSd9SM2DnSElDvY5kxhBw==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gae-source-bd249df523360e7484943bd8e64c6107.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "vSSd9SM2DnSElDvY5kxhBw==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/bd249df523360e7484943bd8e64c6107.zip?generation=1638472627389542&alt=media" -> (known after apply) - metadata = {} -> null ! name = "bd249df523360e7484943bd8e64c6107.zip" -> "51e9ba2ae455d320f49f485b0254ff84.zip" # forces replacement ! output_name = "bd249df523360e7484943bd8e64c6107.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/bd249df523360e7484943bd8e64c6107.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.closure_js must be replaced -/+ resource "google_storage_bucket_object" "closure_js" { ! crc32c = "4eHN4A==" -> (known after apply) ! detect_md5hash = "J6tW1qc8OZWRFI9fIKwFyw==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-compiled/js/fmltc.js" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "J6tW1qc8OZWRFI9fIKwFyw==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev/o/compiled%2Fjs%2Ffmltc.js?generation=1638472627383909&alt=media" -> (known after apply) - metadata = {} -> null name = "compiled/js/fmltc.js" ! output_name = "compiled/js/fmltc.js" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev/o/compiled%2Fjs%2Ffmltc.js" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (3 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.cloud-function-archive must be replaced -/+ resource "google_storage_bucket_object" "cloud-function-archive" { ! content_type = "application/zip" -> (known after apply) ! crc32c = "4H0I9g==" -> (known after apply) ! detect_md5hash = "y+KVZJgBpb+jejDSe+rreg==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gcf-source-cbe295649801a5bfa37a30d27beaeb7a.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "y+KVZJgBpb+jejDSe+rreg==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/cbe295649801a5bfa37a30d27beaeb7a.zip?generation=1638472627379383&alt=media" -> (known after apply) - metadata = {} -> null ! name = "cbe295649801a5bfa37a30d27beaeb7a.zip" -> "9f5fecd07c28c726e4aa077d1defbd4d.zip" # forces replacement ! output_name = "cbe295649801a5bfa37a30d27beaeb7a.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/cbe295649801a5bfa37a30d27beaeb7a.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } Plan: 3 to add, 2 to change, 3 to destroy. ```