Automatic Cut Detector
Project description
Cut Detector
Automatic micro-tubules cut detector.
https://github.com/15bonte/cut-detector/assets/28538099/3c59fbee-e599-4a9c-81a1-01e38a670fc1
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Your browser does not support the video tag.Installation
Conda environment
It is highly recommended to create a dedicated conda environment, by following these few steps:
-
Install an Anaconda distribution of Python. Note you might need to use an anaconda prompt if you did not add anaconda to the path.
-
Open an Anaconda prompt as admin to create a new environment using conda. We advice to use python 3.10 and conda 23.10.0, to get conda-libmamba-solver as default solver.
conda create --name cut_detector python=3.10 conda=23.10.0
conda activate cut_detector
Package installation
Once in a dedicated environment, our package can be installed via pip:
pip install cut_detector
Alternatively, you can clone the github repo to access to playground scripts.
git clone https://github.com/15bonte/cut-detector.git
cd cut-detector
pip install -e .
GPU
We highly recommend to use GPU to speed up segmentation. To use your NVIDIA GPU, the first step is to download the dedicated driver from NVIDIA.
Next we need to remove the CPU version of torch:
pip uninstall torch
The GPU version of torch to be installed can be found here. You may choose the CUDA version supported by your GPU, and install it with conda. This package has been developed with the version 11.6, installed with this command:
conda install pytorch==1.12.1 torchvision pytorch-cuda=11.6 -c pytorch -c nvidia
Update
To update cut-detector to the latest version, open an Anaconda prompt and use the following commands:
conda activate cut_detector
pip install cut-detector --upgrade
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, "cut-detector" 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 cut_detector-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 205897c3ed0a9ae1b77c65932f42dbe8325f68f02b3f149424cb67ffa306fbca |
|
MD5 | 22d0c626083b2f259b6a213ca0031048 |
|
BLAKE2b-256 | 9de3abf963432a40d4486ab50dba8287ca459aa53eacd446a49a8c8c5fbc0f10 |