model_server
How to extend service
Add sub-package to extensions Add models that inherit from model_server.Model In workflows, implement pipelines with File I/O via accessors.GenericImageDataAccessor (to decouple model logic from image data source) Set extensions-specific folders, etc. in conf relative to overall package root (set by user) As much as possible, set pipeline and model parameters with defaults and support overrides by optional API arguments; this helps non-coding users control their jobs Set up API endpoints in router, following as much as possible existing conventions with load, infer, etc. keyword
decouple data access from processing
control either via batch runners or API (serial)
workflow: combines data access with processing via models, produces primary outputs