feat: add linear models and autodetect models configuration

This commit is contained in:
Cyrille Nofficial 2022-06-10 16:09:03 +02:00
parent 1123071750
commit c915e2b957
3 changed files with 4 additions and 5 deletions

View File

@ -93,7 +93,9 @@ metadata:
name: robocar-models name: robocar-models
data: data:
# model to use for steering # 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_STEERING3: model_edgetpu.tflite
MODEL_STEERING4: model_160x120h20_edgetpu.tflite MODEL_STEERING4: model_160x120h20_edgetpu.tflite
MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite

View File

@ -207,9 +207,6 @@ spec:
args: args:
- "--model=/model/$(MODEL_STEERING)" - "--model=/model/$(MODEL_STEERING)"
- "--edge-verbosity=0" - "--edge-verbosity=0"
- "--img-width=$(MODEL_IMAGE_WIDTH)"
- "--img-height=$(MODEL_IMAGE_HEIGHT)"
- "--horizon=$(HORIZON)"
- "--log=info" - "--log=info"
securityContext: securityContext:
runAsUser: 0 runAsUser: 0

View File

@ -16,7 +16,7 @@ images:
newTag: v0.5.1 newTag: v0.5.1
- name: docker.io/cyrilix/robocar-steering-tflite-edgetpu - name: docker.io/cyrilix/robocar-steering-tflite-edgetpu
newTag: v0.4.1 newTag: v0.5.0
- name: docker.io/cyrilix/robocar-throttle - name: docker.io/cyrilix/robocar-throttle
newTag: v0.4.2 newTag: v0.4.2