No project description provided
Project description
Lentille
Library that wraps various embedders. For now it only wraps a Resnet50 model.
Installation
pip install lentille
Example usage
from lentille import Resnet50Embedder
embedder = Resnet50Embedder.from_file(
"resnet50-v1-12-int8.onnx" # ONNX model from: https://github.com/onnx/models/tree/main/vision/classification/resnet
)
print(embedder.classify("cat.jpg"))
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
lentille-0.3.0.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file lentille-0.3.0.tar.gz
.
File metadata
- Download URL: lentille-0.3.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.12 Linux/5.15.0-1039-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf72e19521905dd820cbafdc48f9f26568a77df619b7a2a2fc8041211158335b |
|
MD5 | 719fbf09a1ae6bd1e60f2cfcd3664ceb |
|
BLAKE2b-256 | 97115f88ce448f120553a33075f829cc276f15bfed7e28b8a9ca3ace7c532bfd |
File details
Details for the file lentille-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: lentille-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.12 Linux/5.15.0-1039-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 530d45a2ddcb0a079e2bd072bed4831169fe89f16869628590d81c220f024905 |
|
MD5 | 66f100b0c8350f38925f6cb999e16bf7 |
|
BLAKE2b-256 | 4a8554848e17fcc42205d8e2801177e6235bc41838b2554ecf1c7069d797a36a |