Morphology annotation for budding yeasts
Installation
pip install maby
Once installed, use command maby-init to download the pre-trained models and example images. These will be stored in your python environment, so you may need to use special permissions. We recommend using a pythong environment, such as conda.
Training
Once the package is installed, the command maby-train will be accessible from the command line.
maby-train --directory /path/to/image
Evaluating
To evaluate the performance of the trained model on the validation data, use the command maby-evaluate.
It requires a path to a results directory as input.
maby-evaluate --directory /path/to/directory --checkpoint /path/to/model.pt
Visualizing results with napari
We visualize results with napari using the command:
maby-visualize
By default, it loads a network to predict the location of the nucleus, as well as an example time-lapse.
Click Run to make a prediction on the example. This may take up to a minute, depending on your hardware.
You can choose which model to run the prediction with in the dropdown menu. The nucleus and vacuole models are pre-trained, but the custom model is loaded with random initial weights.
If you want to predict on a different .tif file, you can choose an image and press Load Image to load it into the viewer. The bright field data will be automatically normalized between -1 and 1.
If you want to use a different model trained with maby-train on your own dataset, locate the checkpoint file and click Load model. Note that this will overwrite which ever model is currently loaded, so we suggest that you first switch to the custom model in the model picking pane.
Metadata
Release files for maby 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maby-0.1.tar.gz | 11.0 kB | Without provenance | Details for maby-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maby-0.1-py3-none-any.whl | Python 3 | none | any | Details for maby-0.1-py3-none-any.whl |
Total release size: 23.0 kB
Release files / maby-0.1.tar.gz
| Download URL | maby-0.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c55beae92b562d0c7ae7557ceb3900f943fc0f214efffda918d836a15f7b6b6e
|
|
BLAKE2b-256 checksum How to use checksums |
ea4dffd132e4ac0896b0962c7907ad4dbd848a5c49e89592f24f62f2effcdae3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / maby-0.1-py3-none-any.whl
| Download URL | maby-0.1-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3be490c3d47bb60c7379e2f211221035fd4fa5761ac49631b11528c60a88fa1
|
|
BLAKE2b-256 checksum How to use checksums |
da18b74788a60b42f8d3019d2cd31357d7643c6113494418f66bd2543500d0a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for maby 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.