Skip to main content

A plugin to perform unet based deep learning with a small number of labels and augmentation

Project description

napari-easy-augment-batch-dl

License BSD-3 PyPI Python Version tests codecov napari hub

A plugin to perform unet based deep learning with a small number of labels and augmentation


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Installation

To install latest development version :

pip install git+https://github.com/bnorthan/napari-easy-augment-batch-dl.git

You will also need to install the latest development version of tnia-python:

pip install git+https://github.com/True-North-Intelligent-Algorithms/tnia-python.git

You will need to install napari and for augmentation you will need albumentations library. Also explicitly install numpy 1.26. (We have not tested with numpy 2.0 so it is a good idea to explicitly install numpy 1.26 to avoid another dependency installing numpy 2.x)

    pip install numpy==1.26
    pip install napari[all]
    pip install albumentations
    pip install matplotlib

You will also need one or more of stardist, cellpose, segment-everything or Yolo

Stardist

Windows

    conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
    pip install "tensorflow<2.11"
    pip install stardist==0.8.5
    pip install gputools
    pip install edt

Linux

    pip install tensorflow[and-cuda]
    pip install stardist
    pip install gputools
    pip install edt

Pytorch (for unet segmentation)

    pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
    pip install pytorch-lightning
    pip install monai
    pip install scipy
    pip install tifffile

Cellpose

    pip install cellpose

SAM (Segment Anything)

    pip install segment-everything

(more details to come on installing dependencies)

(Coming soon) You can install napari-easy-augment-batch-dl via pip:

pip install napari-easy-augment-batch-dl

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-easy-augment-batch-dl" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

napari_easy_augment_batch_dl-0.0.3.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file napari_easy_augment_batch_dl-0.0.3.tar.gz.

File metadata

File hashes

Hashes for napari_easy_augment_batch_dl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 97d063acf1dfb9449aa7c6e5c05c8ff2c5274411d571c9f0249f3038565271d9
MD5 6e9cb018f87de59c1426d4cef2006d18
BLAKE2b-256 eeda85c86a5d22762b8f86f1a6b527dcf76147f930a5ed488e1db21c4db88b4d

See more details on using hashes here.

File details

Details for the file napari_easy_augment_batch_dl-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_easy_augment_batch_dl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4599a67045cb31b23e682eca2a5f4ef50bffac98f53e083dd9268493a5a416d3
MD5 3b989374800392c62192e33b84dd1bf0
BLAKE2b-256 21b5ae69bba79991f5b1a9e831940f25f18099af74d95486f0aad979a01f5448

See more details on using hashes here.

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