Skip to main content

A package for Panoptic ML

Project description

PanopticML

Default plugin for panoptic, provides all machine learning functionalities such as:

  • image embeddings using OpenAI CLIP
  • images clustering using FAISS Kmeans or HDBScan
  • images to images similarity using FAISS Index L2
  • text to images similarity using FAISS Index L2 + CLIP

Available models

Several models are available in this plugin to compute the embeddings:

  • google mobilenet: a really light model with lower performances but made to run on bad devices, no support for text similarity
  • openAI CLIP: default model for panoptic, good performances, runs well on most computers with a decent CPU, support text similarity and has a good understanding of semantics
  • meta dinosV2: model that will have better performances than CLIP on pure visual similarities but less understanding of themes and semantics, no support for text similarity, runs well on CPU
  • google SIGLIP2: computing heavy model, NVDIA GPU recommended but works also on CPU (it will take a long time to compute embeddings), way better results than CLIP on text similarity and semantics, and pretty good visual features
  • auto transformers: want to tryout any huggingface multimodal model ? you can just provide its id to panopticML and should be able to use it directly

Clustering functions

  • Kmeans: specify a number of clusters, really fast
  • HDBScan: automatic number of clusters, a bit slower and excludes a lot of images
  • Images to text: considering several texts, create a cluster per text and put each image to the text it is the closest to
  • Find duplicates: create clusters with only images sharing a lot of similarity together, good to find duplicates or near duplicates

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

panopticml-0.0.7.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

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

panopticml-0.0.7-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file panopticml-0.0.7.tar.gz.

File metadata

  • Download URL: panopticml-0.0.7.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for panopticml-0.0.7.tar.gz
Algorithm Hash digest
SHA256 93fa4a1ceb4ed7079347581363a80c12b647d082c98d075c6f06514b6aa4ab26
MD5 3d7a050b639571860917ccb104172425
BLAKE2b-256 b1022e054245c96b57359cf96a573df568149f2df1933334614e02f67849e77d

See more details on using hashes here.

File details

Details for the file panopticml-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: panopticml-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for panopticml-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 74b953173235e2c52b4f940b75216510b155de4cdaaac4e19b32141e64a6dc0d
MD5 8107fe468ab504f23ac0bae61736ff99
BLAKE2b-256 edb408b8a57a7654060a93a8b3d8604a036f4edc333eb21ab65c5fa35d137d80

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