Merge pull request #24 from dx-tan/fix/database_inconsistent
Fix/database inconsistent
This commit is contained in:
commit
8d76ae89aa
@ -1,7 +1,7 @@
|
|||||||
device = "cuda:0"
|
device = "cuda:0"
|
||||||
ocr_engine = {
|
ocr_engine = {
|
||||||
"detector": {
|
"detector": {
|
||||||
"version": "/workspace/cope2n-ai-fi/weights/models/ocr_engine/sdsvtd/epoch_94_params.pth",
|
"version": "/workspace/cope2n-ai-fi/weights/models/ocr_engine/sdsvtd/27Dec_washing420_79_epoch_100_params.pth",
|
||||||
"rotator_version": "/workspace/cope2n-ai-fi/weights/models/ocr_engine/sdsvtd/best_bbox_mAP_epoch_30_lite.pth",
|
"rotator_version": "/workspace/cope2n-ai-fi/weights/models/ocr_engine/sdsvtd/best_bbox_mAP_epoch_30_lite.pth",
|
||||||
"device": device
|
"device": device
|
||||||
},
|
},
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 4caed0d5ee08d1114727effd19bf32beab5263dc
|
Subproject commit 11fb9588df7e6cb03e7a761e3f728f11045bee09
|
@ -5,6 +5,9 @@ tag=$1
|
|||||||
|
|
||||||
echo "[INFO] Tag received from Python: $tag"
|
echo "[INFO] Tag received from Python: $tag"
|
||||||
|
|
||||||
|
echo "[INFO] Updating everything the remote..."
|
||||||
|
git submodule update --recursive --remote
|
||||||
|
|
||||||
echo "[INFO] Pushing AI image with tag: $tag..."
|
echo "[INFO] Pushing AI image with tag: $tag..."
|
||||||
docker compose -f docker-compose-dev.yml build cope2n-fi-sbt
|
docker compose -f docker-compose-dev.yml build cope2n-fi-sbt
|
||||||
docker tag sidp/cope2n-ai-fi-sbt:latest public.ecr.aws/v4n9y6r8/sidp/cope2n-ai-fi-sbt:${tag}
|
docker tag sidp/cope2n-ai-fi-sbt:latest public.ecr.aws/v4n9y6r8/sidp/cope2n-ai-fi-sbt:${tag}
|
||||||
@ -22,4 +25,4 @@ docker push public.ecr.aws/v4n9y6r8/sidp/cope2n-fe-fi-sbt:${tag}
|
|||||||
|
|
||||||
cp ./docker-compose-prod.yml ./docker-compose_${tag}.yml
|
cp ./docker-compose-prod.yml ./docker-compose_${tag}.yml
|
||||||
sed -i "s/{{tag}}/$tag/g" ./docker-compose_${tag}.yml
|
sed -i "s/{{tag}}/$tag/g" ./docker-compose_${tag}.yml
|
||||||
cp .env_prod .env_${tag}
|
cp .env_prod .env_${tag}
|
Loading…
Reference in New Issue
Block a user