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.4.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.4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: panopticml-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e7ced35b8a92ea207e239d7c0ad1020a68b3d8322192f7be9e8e39e278beb135
MD5 bf63108ae00aa775f50806f5f31b8d9f
BLAKE2b-256 9e2e7692ec27a16ddc8688c195e4a082fc46f3c9d7ad12c29e00f660fb3d110b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: panopticml-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c64d8f1f8f8ed585d863601c6af3d040bad6709e45dbb3e805689868d020e656
MD5 7bac69da28ff1f12bfdbad315595e055
BLAKE2b-256 08301b585630e09e4792e2d5f7e40975d81c3523ea187a8f1cf4b35522675e4f

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