From c915e2b957fe43692cfa8c50ff7925359eda9d8f Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Fri, 10 Jun 2022 16:09:03 +0200 Subject: [PATCH] feat: add linear models and autodetect models configuration --- .../roles/microservices/files/robocar/common/configmap.yaml | 4 +++- .../roles/microservices/files/robocar/common/deployments.yaml | 3 --- .../microservices/files/robocar/common/kustomization.yaml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ansible/roles/microservices/files/robocar/common/configmap.yaml b/ansible/roles/microservices/files/robocar/common/configmap.yaml index 8902153..c3c9269 100644 --- a/ansible/roles/microservices/files/robocar/common/configmap.yaml +++ b/ansible/roles/microservices/files/robocar/common/configmap.yaml @@ -93,7 +93,9 @@ metadata: name: robocar-models data: # model to use for steering - MODEL_STEERING: model_160x120h0_edgetpu.tflite + #MODEL_STEERING: model_categorical_160x120h20_edgetpu.tflite + MODEL_STEERING: model_linear_160x120h20_edgetpu.tflite + MODEL_STEERING5: model_160x120h0_edgetpu.tflite MODEL_STEERING3: model_edgetpu.tflite MODEL_STEERING4: model_160x120h20_edgetpu.tflite MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite diff --git a/ansible/roles/microservices/files/robocar/common/deployments.yaml b/ansible/roles/microservices/files/robocar/common/deployments.yaml index 3e118b4..f4e0aa3 100644 --- a/ansible/roles/microservices/files/robocar/common/deployments.yaml +++ b/ansible/roles/microservices/files/robocar/common/deployments.yaml @@ -207,9 +207,6 @@ spec: args: - "--model=/model/$(MODEL_STEERING)" - "--edge-verbosity=0" - - "--img-width=$(MODEL_IMAGE_WIDTH)" - - "--img-height=$(MODEL_IMAGE_HEIGHT)" - - "--horizon=$(HORIZON)" - "--log=info" securityContext: runAsUser: 0 diff --git a/ansible/roles/microservices/files/robocar/common/kustomization.yaml b/ansible/roles/microservices/files/robocar/common/kustomization.yaml index f6d2ed1..a5d4ca3 100644 --- a/ansible/roles/microservices/files/robocar/common/kustomization.yaml +++ b/ansible/roles/microservices/files/robocar/common/kustomization.yaml @@ -16,7 +16,7 @@ images: newTag: v0.5.1 - name: docker.io/cyrilix/robocar-steering-tflite-edgetpu - newTag: v0.4.1 + newTag: v0.5.0 - name: docker.io/cyrilix/robocar-throttle newTag: v0.4.2