Module for segmenting pathological images of tissue microarrays
Project description
TMAs
Ce projet propose un modèle de segmentation d’images histopathologiques, spécialisé dans les Tissue MicroArrays (TMA) utilisés en anatomopathologie.
L’objectif est de segmenter automatiquement des structures d’intérêt dans des lames numériques, en particulier dans le contexte des lymphomes.
Documentation
def predict_mask(model, imagePath, outputPath, repo_id="Vaaaal/TMAs", filename="tmas_segmenter.pth"):
- model (torch.nn.Module)
- Segmentation model (UNet architecture or equivalent) : Weights will be automatically loaded from Hugging Face.
- imagePath (str) : Path to the input image to be segmented.
- outputPath (str) : Path where the generated segmentation mask will be saved.
- repo_id (str, optional) : ID of the Hugging Face repository containing the model weights.
- filename (str, optional) : Name of the weight file in the repository.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tmax-0.1.0.tar.gz.
File metadata
- Download URL: tmax-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1709afd74596bbb237dff00f744ca216ae5314adaabc02da58e590ac33606d5a
|
|
| MD5 |
f0e4753a44af1d106290a982eaf8836a
|
|
| BLAKE2b-256 |
500bb0206edf50c275ef54f9efdfac455504f87c59257fbc82a02c6d96262d69
|
File details
Details for the file tmax-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tmax-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e12e881f0d947477b2dff17ca8f5805f77dd5aa1fd3ff5c40fc6286b21cd3c5e
|
|
| MD5 |
48754b148afc3f8aa567cdb7a33a8951
|
|
| BLAKE2b-256 |
de0e5aeaf5996b91cd0c7ba29fa65380cfcc2d3bebdc958dc17c1465cedb327d
|