增加检测矫正后用时上升比较明显,常规启用photo_review_6来弥补

This commit is contained in:
2024-08-28 14:31:46 +08:00
parent 0e67e01723
commit 3f6384a2fb
3 changed files with 19 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
x-env:
&template
image: fcb_photo_review:1.13.6
image: fcb_photo_review:1.13.7
restart: always
services:
@@ -94,23 +94,23 @@ services:
capabilities: [ "gpu" ]
driver: "nvidia"
# photo_review_6:
# <<: *template
# container_name: photo_review_6
# hostname: photo_review_6
# volumes:
# - ./log:/app/log
# - ./model:/app/model
# depends_on:
# - photo_review_5
# command: [ "photo_review.py" ]
# deploy:
# resources:
# reservations:
# devices:
# - device_ids: [ "0", "1" ]
# capabilities: [ "gpu" ]
# driver: "nvidia"
photo_review_6:
<<: *template
container_name: photo_review_6
hostname: photo_review_6
volumes:
- ./log:/app/log
- ./model:/app/model
depends_on:
- photo_review_5
command: [ "photo_review.py" ]
deploy:
resources:
reservations:
devices:
- device_ids: [ "0", "1" ]
capabilities: [ "gpu" ]
driver: "nvidia"
photo_mask_1:
<<: *template
@@ -119,7 +119,7 @@ services:
volumes:
- ./log:/app/log
depends_on:
- photo_review_5
- photo_review_6
command: [ "photo_mask.py", "--clean", "True" ]
deploy:
resources: