FIRST-Tech-Challenge / fmltc

FIRST Machine Learning Toolchain
Other
38 stars 14 forks source link

Fixed issue 214: Not found error during create_tflite action #215

Closed lizlooney closed 2 years ago

lizlooney commented 2 years ago

Changed code that determines num_warmup_steps so it can be changed more easily in the future.

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/74ac0b52372e5ad75885ba1a917e31ae.zip" -> "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/b6e3181c84604a58899b90a54b6e6cbd.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 = "9a432b4b4f2fc558d2add03abe92a36b.zip" -> "9c7916c07f656e340bdb290e9b2f12a4.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 = "duN+Ow==" -> (known after apply) ! detect_md5hash = "dKwLUjcuWtdYhboakX4xrg==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gae-source-74ac0b52372e5ad75885ba1a917e31ae.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "dKwLUjcuWtdYhboakX4xrg==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/74ac0b52372e5ad75885ba1a917e31ae.zip?generation=1637184031632610&alt=media" -> (known after apply) - metadata = {} -> null ! name = "74ac0b52372e5ad75885ba1a917e31ae.zip" -> "b6e3181c84604a58899b90a54b6e6cbd.zip" # forces replacement ! output_name = "74ac0b52372e5ad75885ba1a917e31ae.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/74ac0b52372e5ad75885ba1a917e31ae.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 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 = "Nk4xow==" -> (known after apply) ! detect_md5hash = "mkMrS08vxVjSrdA6vpKjaw==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gcf-source-9a432b4b4f2fc558d2add03abe92a36b.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "mkMrS08vxVjSrdA6vpKjaw==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/9a432b4b4f2fc558d2add03abe92a36b.zip?generation=1637184031614565&alt=media" -> (known after apply) - metadata = {} -> null ! name = "9a432b4b4f2fc558d2add03abe92a36b.zip" -> "9c7916c07f656e340bdb290e9b2f12a4.zip" # forces replacement ! output_name = "9a432b4b4f2fc558d2add03abe92a36b.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/9a432b4b4f2fc558d2add03abe92a36b.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.models["models/tf2/20200711/ssd_mobilenet_v1_fpn_640x640_coco17_tpu-8/pipeline.config"] must be replaced -/+ resource "google_storage_bucket_object" "models" { ! content_type = "text/plain; charset=utf-8" -> (known after apply) ! crc32c = "0rKsYw==" -> (known after apply) ! detect_md5hash = "Vu9A7YLYf8tMZsmRqgi1UQ==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-static/training/models/tf2/20200711/ssd_mobilenet_v1_fpn_640x640_coco17_tpu-8/pipeline.config" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "Vu9A7YLYf8tMZsmRqgi1UQ==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v1_fpn_640x640_coco17_tpu-8%2Fpipeline.config?generation=1635105701060681&alt=media" -> (known after apply) - metadata = {} -> null name = "static/training/models/tf2/20200711/ssd_mobilenet_v1_fpn_640x640_coco17_tpu-8/pipeline.config" ! output_name = "static/training/models/tf2/20200711/ssd_mobilenet_v1_fpn_640x640_coco17_tpu-8/pipeline.config" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v1_fpn_640x640_coco17_tpu-8%2Fpipeline.config" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.models["models/tf2/20200711/ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config"] must be replaced -/+ resource "google_storage_bucket_object" "models" { ! content_type = "text/plain; charset=utf-8" -> (known after apply) ! crc32c = "eHSrQA==" -> (known after apply) ! detect_md5hash = "7+HwpOAAI12iR1e2t8fOsw==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-static/training/models/tf2/20200711/ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "7+HwpOAAI12iR1e2t8fOsw==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v2_320x320_coco17_tpu-8%2Fpipeline.config?generation=1635105701073811&alt=media" -> (known after apply) - metadata = {} -> null name = "static/training/models/tf2/20200711/ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config" ! output_name = "static/training/models/tf2/20200711/ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v2_320x320_coco17_tpu-8%2Fpipeline.config" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.models["models/tf2/20200711/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/pipeline.config"] must be replaced -/+ resource "google_storage_bucket_object" "models" { ! content_type = "text/plain; charset=utf-8" -> (known after apply) ! crc32c = "+VSnJQ==" -> (known after apply) ! detect_md5hash = "gEONLkU92LuwXR6mbvnZnA==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-static/training/models/tf2/20200711/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/pipeline.config" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "gEONLkU92LuwXR6mbvnZnA==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8%2Fpipeline.config?generation=1635105701060002&alt=media" -> (known after apply) - metadata = {} -> null name = "static/training/models/tf2/20200711/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/pipeline.config" ! output_name = "static/training/models/tf2/20200711/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/pipeline.config" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8%2Fpipeline.config" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.models["models/tf2/20200711/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/pipeline.config"] must be replaced -/+ resource "google_storage_bucket_object" "models" { ! content_type = "text/plain; charset=utf-8" -> (known after apply) ! crc32c = "AAFu3w==" -> (known after apply) ! detect_md5hash = "bWqDk3o69uDOvXcahKKzJQ==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-static/training/models/tf2/20200711/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/pipeline.config" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "bWqDk3o69uDOvXcahKKzJQ==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8%2Fpipeline.config?generation=1635105701061390&alt=media" -> (known after apply) - metadata = {} -> null name = "static/training/models/tf2/20200711/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/pipeline.config" ! output_name = "static/training/models/tf2/20200711/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/pipeline.config" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev/o/static%2Ftraining%2Fmodels%2Ftf2%2F20200711%2Fssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8%2Fpipeline.config" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } Plan: 6 to add, 2 to change, 6 to destroy. ```