A segmentation plugin to adapt Omnipose implementation to partial labelling.
Project description
napari-sketchpose
A plugin to adapt the Omnipose implementation to frugal labeling. It aims to facilitate the training from scratch or the use of transfer learning with little data, by not needing to draw entire cells, but a few squiggles instead (see GIF below).
Image Credit: Eduard Muzhevskyi
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
First, we advise you to create a conda environment in Python 3.10, in which you will run Napari:
conda create -n sketchpose_env python=3.10
conda activate sketchpose_env
conda install pip
python -m pip install "napari[all]" --upgrade
You can install napari_sketchpose
via pip:
pip install napari_sketchpose
WARNING:
For Windows users, CUDA version of PyTorch may not be installed properly. When the plugin starts for the first time, it checks whether CUDA version is installed. If not, it tries to install it using light-the-torch library. If this does not work, you should re-install CUDA torch and torchvision versions manually, otherwise the plugin will not work properly.
Tutorial
We strongly recommend reading the documentation to get the most out of the plugin. A step-by-step tutorial illustrated with GIFs will guide you through the various stages.
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 GNU GPL v3.0 license, "napari-sketchpose" is free and open source software
Issues
If you encounter any problems, please [file an issue] along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napari_sketchpose-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4c7830153482d3f42740443912ff5dc4574ee67f1a4bba408e5a4d8af6e524f |
|
MD5 | 69b1c4966bb3e6ddfc62d7af86258362 |
|
BLAKE2b-256 | 255b1e57ce3892ebb9ceea2edd69869b6efd4e09d836d2be80bcdbea5e896491 |