Skip to main content

A SAM model with GroundingDINO model

Project description

DiagAssistAI

GitHub License Static Badge

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.1.22

Fixed

Resolved: Error to import utils in sam2 image predictor

Resolved: Error to normalize multiple boxes in predict sam1

Resolved: Error when normalizing the boxes during prediction with DINO.

Resolved: Error in using torch type bounding boxes in SAM2 prediction has been changed to numpy arrays

Resolved: Conversion of image/images to numpy for visualization of images and bounding boxes

Resolved: Duplicated compile c++ extensions for module _C of groundingdino

Changed

Changed: Using box_convert from torchvision to convert bounding boxes from cxcywh format to xyxy format for SAM2

Add

Add: Addition of code for displaying image, points, and bounding boxes for SAM2

Add: Post-processing of bounding boxes for SAM2 segmentation has been added

Add: The "TORCH_CUDNN_SDPA_ENABLED" rule which allows the use of special functions for SAM2

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.1.22.tar.gz (181.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.1.22-cp310-cp310-win_amd64.whl (490.4 kB view details)

Uploaded CPython 3.10Windows x86-64

File details

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

File metadata

  • Download URL: groundino_samnet-0.1.22.tar.gz
  • Upload date:
  • Size: 181.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.1.22.tar.gz
Algorithm Hash digest
SHA256 d81dd4617839cbcb02337d42ca6b084b77c3e9418faa7539d59739ec25191e4e
MD5 982fa2578a11c827ef50bfd052e6fd1c
BLAKE2b-256 3bdacef40ecc022b10c3bd3f6f35558722671c455a49f8ce2ccdfc14c956770a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for groundino_samnet-0.1.22-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f17b819e315c51ab8dfac71de5684e6fc173953e09305291913e0d1b9948144e
MD5 6883c1cba03a46ec99af55122fbdbccc
BLAKE2b-256 e7a94e5894e34153ff819a011c9a8d710a35ce0c330ecdedfeb0143e852f2064

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