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 synthspline for vasculature synthesis.
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.7.tar.gz
(16.2 kB
view hashes)
Built Distribution
Close
Hashes for oct_tissuemasking-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b140fd8cae55ba55fce4eec08c929f0e5ec407d7114c4a982a7a6e26a9351f |
|
MD5 | ea38efefe4d9514bb9f94a497e55cf10 |
|
BLAKE2b-256 | 5d0464feba740e4ddcc987eb4bd6250d43af0a2aafd79ef4c08d687e5da4062a |