# slaid **Repository Path**: mirrors_crs4/slaid ## Basic Information - **Project Name**: slaid - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-12 - **Last Updated**: 2026-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Slaid [![Docker Image CI](https://github.com/crs4/slaid/actions/workflows/test-build-publish.yaml/badge.svg)](https://github.com/mdrio/slaid/actions/workflows/test-build-publish.yaml) ## Intro Slaid is a library for applying DL models from DeepHealth project (https://deephealth-project.eu/) on WSI. ## Installation Prerequisites: * conda * python >=3.6, <= 3.8 (tested on 3.8) * Installation of dependencies pyecvl, pyeddl with conda is recommended. Be sure pip on your path is the one that comes with conda. Run: ``` python setup.py install ``` ## Docker image build Run: ``` make docker ``` ## Usage For slide classification, use the installed bin classify.py. Get help typing: ``` classify.py --help ``` Examples: Extract tissue ``` classify.py -f tissue -m slaid/resources/models/tissue_model-extract_tissue_eddl_1.1.bin -l 2 -o ``` Classify tumor: ``` classify.py -f tissue -m slaid/resources/models/tumor_model-classify_tumor_eddl_0.1.bin -l 2 -o ``` ### Run on Docker Slaid is released as docker images, one for each DL model available. Example: ``` docker run --rm -v $DIR/../data:/data slaid:0.62.0-tissue_model-extract_tissue_eddl_1.1 -l 0 /data/$IMAGE --overwrite -f tissue -o/data ``` ## Licenses The software in this repository and the associated documentation files are provided under the conditions of the MIT License, while the model coefficients in the directory ```slaid/resources/models``` and the ones referenced in ```docker/filter-models.txt``` are provided under the conditions of the CC-BY-NC-SA 4.0 License. Tests data from https://openslide.cs.cmu.edu/download/openslide-testdata/Mirax/. Credits to Yves Sucaet.