From 47ce1a3849a50dde97ede9452ca4ac6d8327be87 Mon Sep 17 00:00:00 2001 From: Sarah G Date: Mon, 21 Aug 2023 17:11:24 +0200 Subject: [PATCH 1/3] Update to 3.2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e4da21e..e4f74c18 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ SHELL := /bin/bash DOCKER := $(shell type -p docker) DC := $(shell type -p docker-compose) -TAG := 3.1 +TAG := 3.2 APP_NAME := basegun REG := ghcr.io ORG := datalab-mi From 18d91b3b08a6348796a4570246dbcec7810efe95 Mon Sep 17 00:00:00 2001 From: Sarah C Date: Fri, 25 Aug 2023 18:33:25 +0200 Subject: [PATCH 2/3] Adapt confidence levels to new classification model --- backend/src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main.py b/backend/src/main.py index dad4c7a1..1cc4ea72 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -276,9 +276,9 @@ async def imageupload( extras_logging["bg_label"] = label extras_logging["bg_confidence"] = confidence extras_logging["bg_model_time"] = round(time.time()-start, 2) - if confidence < 41: + if confidence < 46: extras_logging["bg_confidence_level"] = "low" - elif confidence < 65: + elif confidence < 76: extras_logging["bg_confidence_level"] = "medium" else: extras_logging["bg_confidence_level"] = "high" From c64fd6bb4bb970651810bb08514ae4b2fd1cfd99 Mon Sep 17 00:00:00 2001 From: leihuayi Date: Tue, 5 Sep 2023 13:30:06 +0000 Subject: [PATCH 3/3] Version updated --- infra/kube/helm/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/kube/helm/values.yaml b/infra/kube/helm/values.yaml index a3b3a65f..f7598dd5 100644 --- a/infra/kube/helm/values.yaml +++ b/infra/kube/helm/values.yaml @@ -11,7 +11,7 @@ ingress: #traefik.ingress.kubernetes.io/router.tls: "true" #traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt hosts: - - host: basegun.fr + - host: preprod.basegun.fr paths: - path: / pathType: Prefix @@ -34,7 +34,7 @@ backend: repository: ghcr.io/datalab-mi/basegun/basegun-backend pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "3.1" + tag: "3.2" imagePullSecrets: [] podAnnotations: {} podSecurityContext: {} @@ -96,7 +96,7 @@ frontend: repository: ghcr.io/datalab-mi/basegun/basegun-frontend pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "3.1" + tag: "3.2" imagePullSecrets: [] podAnnotations: {} podSecurityContext: {}