Merge in RR/fb-detr from add-debug-progress-bar to master
Squashed commit of the following:
commit 3449be1b46f73a5e9ae3719ed2821a1b7faca9e4
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Feb 23 10:26:47 2022 +0100
refactoring; added VERBOSE flag to config
commit e50234e205dfd7a40aaf7981da85e28048d9efba
Merge: 89703ca f6c51be
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Feb 23 09:45:33 2022 +0100
Merge branch 'config_changes' into add-debug-progress-bar
commit f6c51beeaa952c18c80b7af6b7a46b9de8f521c3
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date: Wed Feb 23 09:44:00 2022 +0100
added env var
commit 89703caa776f0fad55757ab22568e45949b2b310
Author: Julius Unverfehrt <Julius.Unverfehrt@iqser.com>
Date: Wed Feb 23 08:28:52 2022 +0100
optional debug progress bar added
17 lines
602 B
YAML
17 lines
602 B
YAML
estimator:
|
|
checkpoint: checkpoint.pth
|
|
classes: ["logo", "other", "formula", "signature", "handwriting_other"]
|
|
rejection_class: "other"
|
|
threshold: .5
|
|
device: cpu
|
|
|
|
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
|
|
batch_size: $BATCH_SIZE|2 # Number of images in memory simultaneously
|
|
verbose: $VERBOSE|True # Service prints document processing progress to stdout
|