Skip to main content

Module for segmenting pathological images of tissue microarrays

Project description

image

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tmax-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tmax-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for tmax-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1709afd74596bbb237dff00f744ca216ae5314adaabc02da58e590ac33606d5a
MD5 f0e4753a44af1d106290a982eaf8836a
BLAKE2b-256 500bb0206edf50c275ef54f9efdfac455504f87c59257fbc82a02c6d96262d69

See more details on using hashes here.

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

Hashes for tmax-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e12e881f0d947477b2dff17ca8f5805f77dd5aa1fd3ff5c40fc6286b21cd3c5e
MD5 48754b148afc3f8aa567cdb7a33a8951
BLAKE2b-256 de0e5aeaf5996b91cd0c7ba29fa65380cfcc2d3bebdc958dc17c1465cedb327d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page