Skip to main content

A PyTorch based package for automated OCT tissue masking.

Project description

oct_tissuemasking

This package contains a basic 3D UNet and patching scripts to create training data.

1 Installation

1.1 Create a new mamba environment

Create a new mamba environment called oct_tissuemasking with python 3.9.

mamba create -n oct_tissuemasking python=3.9
mamba activate oct_tissuemasking

1.2 Install dependencies

We will need to install cyclopts (command line interface utility) and synthspline (for vasculature synthesis).

pip install git+https://github.com/BrianPugh/cyclopts.git#b862234
pip install git+https://github.com/balbasty/synthspline.git#f78ba23

1.3 Set cuda parameters

We need to identify and set our cuda version to make sure we install the right prebuilt wheel for cupy.

export CUDA_VERSION=<cuda-version>

1.4 Install oct_tissuemasking

This will take a while so we will set the timeout for a 20,000 seconds!

pip install oct_tissuemasking --default-timeout=20000

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oct_tissuemasking-0.0.5.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

oct_tissuemasking-0.0.5-py3-none-any.whl (18.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page