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)
Built Distribution
Close
Hashes for oct_tissuemasking-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f03bb18a5aef5044e713f221a7bba0e5168d7c529f8d30c41ce2615d141fe46 |
|
MD5 | 3cde2b0b4c3f9ab43bd9a8c6d09490a2 |
|
BLAKE2b-256 | fd811e58a929708b64de7210fcce047990821b43f2d117db95eed71058230c5b |