测试全部启用新版效果
This commit is contained in:
@@ -26,7 +26,7 @@ services:
|
|||||||
context: ./services/paddle_services
|
context: ./services/paddle_services
|
||||||
container_name: ocr
|
container_name: ocr
|
||||||
hostname: ocr
|
hostname: ocr
|
||||||
command: [ '-w', '1', 'ocr:app', '--bind', '0.0.0.0:5001' ]
|
command: [ '-w', '4', 'ocr:app', '--bind', '0.0.0.0:5001' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -39,7 +39,7 @@ services:
|
|||||||
<<: *paddle_template
|
<<: *paddle_template
|
||||||
container_name: ie_settlement
|
container_name: ie_settlement
|
||||||
hostname: ie_settlement
|
hostname: ie_settlement
|
||||||
command: [ '-w', '1', 'ie_settlement:app', '--bind', '0.0.0.0:5002' ]
|
command: [ '-w', '4', 'ie_settlement:app', '--bind', '0.0.0.0:5002' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -52,7 +52,7 @@ services:
|
|||||||
<<: *paddle_template
|
<<: *paddle_template
|
||||||
container_name: ie_discharge
|
container_name: ie_discharge
|
||||||
hostname: ie_discharge
|
hostname: ie_discharge
|
||||||
command: [ '-w', '1', 'ie_discharge:app', '--bind', '0.0.0.0:5003' ]
|
command: [ '-w', '4', 'ie_discharge:app', '--bind', '0.0.0.0:5003' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -65,7 +65,7 @@ services:
|
|||||||
<<: *paddle_template
|
<<: *paddle_template
|
||||||
container_name: ie_cost
|
container_name: ie_cost
|
||||||
hostname: ie_cost
|
hostname: ie_cost
|
||||||
command: [ '-w', '1', 'ie_cost:app', '--bind', '0.0.0.0:5004' ]
|
command: [ '-w', '4', 'ie_cost:app', '--bind', '0.0.0.0:5004' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -78,7 +78,7 @@ services:
|
|||||||
<<: *paddle_template
|
<<: *paddle_template
|
||||||
container_name: clas_orientation
|
container_name: clas_orientation
|
||||||
hostname: clas_orientation
|
hostname: clas_orientation
|
||||||
command: [ '-w', '1', 'clas_orientation:app', '--bind', '0.0.0.0:5005' ]
|
command: [ '-w', '3', 'clas_orientation:app', '--bind', '0.0.0.0:5005' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -91,7 +91,7 @@ services:
|
|||||||
<<: *paddle_template
|
<<: *paddle_template
|
||||||
container_name: det_book
|
container_name: det_book
|
||||||
hostname: det_book
|
hostname: det_book
|
||||||
command: [ '-w', '1', 'det_book:app', '--bind', '0.0.0.0:5006' ]
|
command: [ '-w', '4', 'det_book:app', '--bind', '0.0.0.0:5006' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -104,7 +104,7 @@ services:
|
|||||||
<<: *paddle_template
|
<<: *paddle_template
|
||||||
container_name: dewarp
|
container_name: dewarp
|
||||||
hostname: dewarp
|
hostname: dewarp
|
||||||
command: [ '-w', '1', 'dewarp:app', '--bind', '0.0.0.0:5007' ]
|
command: [ '-w', '4', 'dewarp:app', '--bind', '0.0.0.0:5007' ]
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -113,25 +113,25 @@ services:
|
|||||||
capabilities: [ 'gpu' ]
|
capabilities: [ 'gpu' ]
|
||||||
driver: 'nvidia'
|
driver: 'nvidia'
|
||||||
|
|
||||||
clas_text:
|
# clas_text:
|
||||||
<<: *paddle_template
|
# <<: *paddle_template
|
||||||
container_name: clas_text
|
# container_name: clas_text
|
||||||
hostname: clas_text
|
# hostname: clas_text
|
||||||
command: [ '-w', '1', 'clas_text:app', '--bind', '0.0.0.0:5008' ]
|
# command: [ '-w', '3', 'clas_text:app', '--bind', '0.0.0.0:5008' ]
|
||||||
deploy:
|
# deploy:
|
||||||
resources:
|
# resources:
|
||||||
reservations:
|
# reservations:
|
||||||
devices:
|
# devices:
|
||||||
- device_ids: [ '1' ]
|
# - device_ids: [ '1' ]
|
||||||
capabilities: [ 'gpu' ]
|
# capabilities: [ 'gpu' ]
|
||||||
driver: 'nvidia'
|
# driver: 'nvidia'
|
||||||
|
|
||||||
photo_review_test_1:
|
photo_review_1:
|
||||||
<<: *project_template
|
<<: *project_template
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
container_name: photo_review_test_1
|
container_name: photo_review_1
|
||||||
hostname: photo_review_test_1
|
hostname: photo_review_1
|
||||||
depends_on:
|
depends_on:
|
||||||
- ocr
|
- ocr
|
||||||
- ie_settlement
|
- ie_settlement
|
||||||
@@ -140,78 +140,53 @@ services:
|
|||||||
- clas_orientation
|
- clas_orientation
|
||||||
- det_book
|
- det_book
|
||||||
- dewarp
|
- dewarp
|
||||||
- clas_text
|
# - clas_text
|
||||||
command: [ 'photo_review.py', '--clean', 'True' ]
|
command: [ 'photo_review.py', '--clean', 'True' ]
|
||||||
|
|
||||||
# photo_review_1:
|
photo_review_2:
|
||||||
# <<: *project_template
|
|
||||||
# build:
|
|
||||||
# context: .
|
|
||||||
# container_name: photo_review_1
|
|
||||||
# hostname: photo_review_1
|
|
||||||
# depends_on:
|
|
||||||
# - ocr
|
|
||||||
# - ie_settlement
|
|
||||||
# - ie_discharge
|
|
||||||
# - ie_cost
|
|
||||||
# - clas_orientation
|
|
||||||
# - det_book
|
|
||||||
# - dewarp
|
|
||||||
# - clas_text
|
|
||||||
# command: [ 'photo_review.py', '--clean', 'True' ]
|
|
||||||
|
|
||||||
# photo_review_2:
|
|
||||||
# <<: *project_template
|
|
||||||
# container_name: photo_review_2
|
|
||||||
# hostname: photo_review_2
|
|
||||||
# depends_on:
|
|
||||||
# - photo_review_1
|
|
||||||
# command: [ 'photo_review.py' ]
|
|
||||||
#
|
|
||||||
# photo_review_3:
|
|
||||||
# <<: *project_template
|
|
||||||
# container_name: photo_review_3
|
|
||||||
# hostname: photo_review_3
|
|
||||||
# depends_on:
|
|
||||||
# - photo_review_2
|
|
||||||
# command: [ 'photo_review.py' ]
|
|
||||||
#
|
|
||||||
# photo_review_4:
|
|
||||||
# <<: *project_template
|
|
||||||
# container_name: photo_review_4
|
|
||||||
# hostname: photo_review_4
|
|
||||||
# depends_on:
|
|
||||||
# - photo_review_3
|
|
||||||
# command: [ 'photo_review.py' ]
|
|
||||||
#
|
|
||||||
# photo_review_5:
|
|
||||||
# <<: *project_template
|
|
||||||
# container_name: photo_review_5
|
|
||||||
# hostname: photo_review_5
|
|
||||||
# depends_on:
|
|
||||||
# - photo_review_4
|
|
||||||
# command: [ 'photo_review.py' ]
|
|
||||||
|
|
||||||
photo_mask_test_1:
|
|
||||||
<<: *project_template
|
<<: *project_template
|
||||||
container_name: photo_mask_test_1
|
container_name: photo_review_2
|
||||||
hostname: photo_mask_test_1
|
hostname: photo_review_2
|
||||||
depends_on:
|
depends_on:
|
||||||
- photo_review_test_1
|
- photo_review_1
|
||||||
|
command: [ 'photo_review.py' ]
|
||||||
|
|
||||||
|
photo_review_3:
|
||||||
|
<<: *project_template
|
||||||
|
container_name: photo_review_3
|
||||||
|
hostname: photo_review_3
|
||||||
|
depends_on:
|
||||||
|
- photo_review_1
|
||||||
|
command: [ 'photo_review.py' ]
|
||||||
|
|
||||||
|
photo_review_4:
|
||||||
|
<<: *project_template
|
||||||
|
container_name: photo_review_4
|
||||||
|
hostname: photo_review_4
|
||||||
|
depends_on:
|
||||||
|
- photo_review_1
|
||||||
|
command: [ 'photo_review.py' ]
|
||||||
|
|
||||||
|
photo_review_5:
|
||||||
|
<<: *project_template
|
||||||
|
container_name: photo_review_5
|
||||||
|
hostname: photo_review_5
|
||||||
|
depends_on:
|
||||||
|
- photo_review_1
|
||||||
|
command: [ 'photo_review.py' ]
|
||||||
|
|
||||||
|
photo_mask_1:
|
||||||
|
<<: *project_template
|
||||||
|
container_name: photo_mask_1
|
||||||
|
hostname: photo_mask_1
|
||||||
|
depends_on:
|
||||||
|
- photo_review_1
|
||||||
command: [ 'photo_mask.py', '--clean', 'True' ]
|
command: [ 'photo_mask.py', '--clean', 'True' ]
|
||||||
|
|
||||||
# photo_mask_1:
|
photo_mask_2:
|
||||||
# <<: *project_template
|
<<: *project_template
|
||||||
# container_name: photo_mask_1
|
container_name: photo_mask_2
|
||||||
# hostname: photo_mask_1
|
hostname: photo_mask_2
|
||||||
# depends_on:
|
depends_on:
|
||||||
# - photo_review_1
|
- photo_mask_1
|
||||||
# command: [ 'photo_mask.py', '--clean', 'True' ]
|
command: [ 'photo_mask.py' ]
|
||||||
|
|
||||||
# photo_mask_2:
|
|
||||||
# <<: *project_template
|
|
||||||
# container_name: photo_mask_2
|
|
||||||
# hostname: photo_mask_2
|
|
||||||
# depends_on:
|
|
||||||
# - photo_mask_1
|
|
||||||
# command: [ 'photo_mask.py' ]
|
|
||||||
Reference in New Issue
Block a user