Merge in RR/image-prediction from refactoring to master
Squashed commit of the following:
commit fc4e2efac113f2e307fdbc091e0a4f4e3e5729d3
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 14:21:05 2022 +0100
applied black
commit 3baabf5bc0b04347af85dafbb056f134258d9715
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 14:20:30 2022 +0100
added banner
commit 30e871cfdc79d0ff2e0c26d1b858e55ab1b0453f
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 14:02:26 2022 +0100
rename logger
commit d76fefd3ff0c4425defca4db218ce4a84c6053f3
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 14:00:39 2022 +0100
logger refactoring
commit 0e004cbd21ab00b8804901952405fa870bf48e9c
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 14:00:08 2022 +0100
logger refactoring
commit 49e113f8d85d7973b73f664779906a1347d1522d
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 13:25:08 2022 +0100
refactoring
commit 7ec3d52e155cb83bed8804d2fee4f5bdf54fb59b
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 13:21:52 2022 +0100
applied black
commit 06ea0be8aa9344e11b9d92fd526f2b73061bc736
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Mar 16 13:21:20 2022 +0100
refactoring
29 lines
1.4 KiB
YAML
29 lines
1.4 KiB
YAML
webserver:
|
|
host: $SERVER_HOST|"127.0.0.1" # webserver address
|
|
port: $SERVER_PORT|5000 # webserver port
|
|
mode: $SERVER_MODE|production # webserver mode: {development, production}
|
|
|
|
service:
|
|
logging_level: $LOGGING_LEVEL_ROOT|DEBUG # Logging level for service logger
|
|
progressbar: True # Whether a progress bar over the pages of a document is displayed while processing
|
|
batch_size: $BATCH_SIZE|32 # Number of images in memory simultaneously
|
|
verbose: $VERBOSE|True # Service prints document processing progress to stdout
|
|
run_id: $RUN_ID|fabfb1f192c745369b88cab34471aba7 # The ID of the mlflow run to load the model from
|
|
|
|
|
|
# These variables control filters that are applied to either images, image metadata or model predictions. The filter
|
|
# result values are reported in the service responses. For convenience the response to a request contains a
|
|
# "filters.allPassed" field, which is set to false if any of the filters returned values did not meet its specified
|
|
# required value.
|
|
filters:
|
|
|
|
image_to_page_quotient: # Image size to page size ratio (ratio of geometric means of areas)
|
|
min: $MIN_REL_IMAGE_SIZE|0.05 # Minimum permissible
|
|
max: $MAX_REL_IMAGE_SIZE|0.75 # Maximum permissible
|
|
|
|
image_width_to_height_quotient: # Image width to height ratio
|
|
min: $MIN_IMAGE_FORMAT|0.1 # Minimum permissible
|
|
max: $MAX_IMAGE_FORMAT|10 # Maximum permissible
|
|
|
|
min_confidence: $MIN_CONFIDENCE|0.5 # Minimum permissible prediction confidence
|