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
Release history Release notifications | RSS feed
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.2.tar.gz
(3.3 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file panopticml-0.0.2.tar.gz.
File metadata
- Download URL: panopticml-0.0.2.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7de8e6f6266cebaef608be2ec3d99c74b80b9c24a8f3b02296f7d0a205f53452
|
|
| MD5 |
a491170c5c392a08828c64a830f9a196
|
|
| BLAKE2b-256 |
6e065f9491783c9f7f16faf52cf6b822a15b95e534361faed1c6a4deca3b5cf4
|
File details
Details for the file panopticml-0.0.2-py3-none-any.whl.
File metadata
- Download URL: panopticml-0.0.2-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53e22123294299c876d51f14f96bf371a02402d020850aafb53c1fd5e5ea6438
|
|
| MD5 |
91ac35402734c8da52ff86d642253fea
|
|
| BLAKE2b-256 |
db11f87a2756a5d01e72ff280996e8fd0dd0fd7207d40beeb76fa4fe58a15486
|