Skip to main content

dafne-sam2

One-shot support/query matching and segmentation on SAM2 embeddings, for MRI (PerSAM-style bag-of-vectors matching).

Structure

src/dafne_sam2/
  automatic/         automatic pipeline (api.py, backbone.py, checkpoints.py, ...)
  semi_automatic/     semi-automatic pipeline (api.py, session.py, slice_matching.py)
  matching.py         shared multiclass scoring
  preprocessing.py, utils.py, metrics.py   shared utilities
gui/                  Qt interface
app.py                GUI entry point

Install

pip install -e '.[gui]'

Usage

python app.py

Development

pip install -e ".[dev]"
pytest

Metadata

Release files for dafne-sam2-tools 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dafne-sam2-tools 0.1.0
File Size Uploaded Provenance Actions
dafne_sam2_tools-0.1.0.tar.gz 41.5 kB Without provenance Details for dafne_sam2_tools-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dafne-sam2-tools 0.1.0
File Interpreter ABI Platform Actions
dafne_sam2_tools-0.1.0-py3-none-any.whl Python 3 none any Details for dafne_sam2_tools-0.1.0-py3-none-any.whl

Total release size: 89.4 kB

Release files / dafne_sam2_tools-0.1.0.tar.gz

Download URL dafne_sam2_tools-0.1.0.tar.gz
Size 41.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b68ee2267de4202f7a7308c48171de66115ed939af2da1e1d7d69b072a35b26f
BLAKE2b-256 checksum
How to use checksums
e96a030e5c03c2bea09bdd2212a55a84cfb91b9db3e82e7cd83a6cd3291b6b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / dafne_sam2_tools-0.1.0-py3-none-any.whl

Download URL dafne_sam2_tools-0.1.0-py3-none-any.whl
Size 47.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9a652cdf56d5c1e350e483db3a5e4a522220f2f7ae9b825137f9c2f65e7ce21
BLAKE2b-256 checksum
How to use checksums
1b16b134a6f6fc067b1a76d597371e1918a3e350cfd27afbaa44cbb66bf00cfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Security for dafne-sam2-tools 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page