- Notifications
You must be signed in to change notification settings - Fork2
A pipeline to preprocess whole-slide images (WSI) towards deep learning
License
NotificationsYou must be signed in to change notification settings
lucasrla/wsi-preprocessing-sos-workflow
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A simple pipeline built withSoS Workflow that runswsi-preprocessing on a remote machine.
wsi-preprocessing is a simple library for preprocessing histopathological whole-slide images (WSI) towards deep learning. Check out itsrepository.
If you do not have a remote machine ready, you can launch a new AWS EC2 instance withec2-setup-sos-workflow.
conda create --name YOUR_ENV_NAME --channel conda-forge python=3.6 pyyaml boto3 sos black# black is optional, it is sort of a development dependencygit clone https://github.com/lucasrla/wsi-preprocessing-sos-workflowcd wsi-preprocessing-sos-workflowconda activate YOUR_ENV_NAME
git clone https://github.com/lucasrla/wsi-preprocessing-sos-workflowcd wsi-preprocessing-sos-workflow# create and activate a virtualenv, for example:pyenv virtualenv YOUR_ENV_NAME&& pyenvlocal YOUR_ENV_NAME# install the dependencies, either with:poetry install# or:pip install -r requirements.txt# note, requirements.txt in this repository were generated via:# poetry export --without-hashes -f requirements.txt -o requirements.txt
# edit project.TEMPLATE.yml to match your needsvim project.TEMPLATE.yml# and then save it as project.yml# make sure that ~/.sos/hosts.yml has the path to your pem_file# and that the naming of hosts matches project.ymlvim~/.sos/hosts.yml
sos run -c project.yml remote.sos -v4
For more tips and tricks on SoS, read theofficial docs.
You can also have a look atec2-setup-sos-workflow.
This isFree Software distributed under theGNU General Public License v3.0.
About
A pipeline to preprocess whole-slide images (WSI) towards deep learning
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.