model_server
Serving Vision to Living Things.
Summary
model_server is a service for on-demand computer vision, adapted specifically to image-based feedback in microscopy and other life sciences applications. It abstracts image data access, persists machine learning models, and exposes an extensible API to facilitate low-latency analysis.
Installation from source:
- Install Git:
https://git-scm.com/download/win - Install Miniforge for environment management:
https://github.com/conda-forge/miniforge/releases - Under the Start menu, open
Miniforge3 > Miniforge Prompt
- In the new terminal, clone the model_server repository:
cd %userprofile%
git clone https://almf-staff:KJmFvyPRbpzoVZDqfMzV@git.embl.de/rhodes/model_server.git
- Create the environment:
mamba env create --file requirements.yml --name model_server_env
- Activate the environment:
mamba activate model_server_env
- Add the project source as a Python package:
pip install --no-deps -e .
To start the server:
- From the Miniforge prompt, run
mamba activate model_server_env
- Then run
python -m scripts.run_server --port 6221
- A browser window should appear, with basic status information.