From 4d9767559ea32d7d7d96f29443e4fc82e9101d6f Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Mon, 8 Jul 2024 16:07:18 +0200 Subject: [PATCH] New build version --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..6262a5a0 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# 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: + +1. Install Git:<br>https://git-scm.com/download/win +2. Install Miniforge for environment management:<br>https://github.com/conda-forge/miniforge/releases +3. Under the Start menu, open `Miniforge3 > Miniforge Prompt` +4. In the new terminal, clone the model_server repository:<br> + `cd %userprofile%`<br> + `git clone https://almf-staff:KJmFvyPRbpzoVZDqfMzV@git.embl.de/rhodes/model_server.git` +5. Create the environment: `mamba env create --file requirements.yml --name model_server_env` +6. Activate the environment: `mamba activate model_server_env` +7. Add the project source as a Python package: `pip install -e .` + +## To start the server: +1. From the Miniforge prompt, run `mamba activate model_server_env` +2. Then run `python -m scripts.run_server --port 6221` +3. A browser window should appear, with basic status information. -- GitLab