Skip to main content

A SAM model with GroundingDINO model

Project description

DiagAssistAI

GitHub License Static Badge PyPI - Version

modelo

Installation

GSamNetwork requires python==3.10.12, as well as torch==2.4.0.

Installing PyTorch

Make sure to check the version of Python that is compatible with your CUDA version at the following link: Installing torch locally.

In this project, CUDA 12.1 was used. You can install PyTorch with support for CUDA 12.1 using the following command:

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

Installing Package

To install the package, use:

pip install groundino-samnet

Version 0.4.0

Added:

Added: It is now possible to extract an image by its name (ID name).

Added: Metrics now also accept NumPy arrays.

Added: Calculation of FPS in the metrics

Changed:

Changed: New logic for utilizing the models (compatible for DataLoaders).

Fixed

Fixed: Error in box and point inputs for SAM2, preparation function added for this.

Fixes: Errors in using SAM2 for batch processing.

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

groundino_samnet-0.4.0.tar.gz (194.9 kB view details)

Uploaded Source

Built Distribution

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

groundino_samnet-0.4.0-cp310-cp310-win_amd64.whl (516.0 kB view details)

Uploaded CPython 3.10Windows x86-64

File details

Details for the file groundino_samnet-0.4.0.tar.gz.

File metadata

  • Download URL: groundino_samnet-0.4.0.tar.gz
  • Upload date:
  • Size: 194.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for groundino_samnet-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e8c70482069e42a1982692dc8f7774f819280540967f145330c136abc71e5e27
MD5 bbb9caa7c56092fb1ad7c99e50996b63
BLAKE2b-256 7ec44ac04aa5772a41c96665b68360a973bd56191d17435319ec52b43e89df71

See more details on using hashes here.

File details

Details for the file groundino_samnet-0.4.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for groundino_samnet-0.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d893ec002557d0cd0bd6bc2adc9ee342f8d09b0fbef5c8d9939d91e67246914e
MD5 74a337a5419dd11a91c8585f736dee13
BLAKE2b-256 0a7d6de685c254722aefe9a46ec3fb7c885f588bb878be56f3df1eecc2764f16

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