imgbeddings icon indicating copy to clipboard operation
imgbeddings copied to clipboard

Python package to generate image embeddings with CLIP without PyTorch/TensorFlow

Results 6 imgbeddings issues
Sort by recently updated
recently updated
newest added

```py3 import requests from PIL import Image url = "http://images.cocodataset.org/val2017/000000039769.jpg" image = Image.open(requests.get(url, stream=True).raw) from imgbeddings import imgbeddings ibed = imgbeddings() ``` ```py3 embedding = ibed.to_embeddings(image) embedding[:, 0:5] ``` ```...

bug

Apparently, GPU support doesn't automatically work with `onnxruntime-gpu` + `CUDAExecutionProvider`, plus it may be complicated by INT8.

bug

Let's say you want to split the image into quadrants (2 row x 2 col) - Run each image as a batch of 4 inputs, with each input representing a...

enhancement

When running this code with 100+ images: ```py ibed = imgbeddings() ibed.to_embeddings(images) ``` All the cores are being used and at times, 100% of the cpu is being used (AMD...

**Problem:** import of `imgbeddings` fails with an error: ``` Traceback (most recent call last): File "", line 1, in File "/home/denis/.pyenv/versions/torch/lib/python3.10/site-packages/imgbeddings/__init__.py", line 1, in from .imgbeddings import imgbeddings # noqa...

package fails with following error ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/intel/.local/lib/python3.10/site-packages/huggingface_hub/__init__.py)