Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

lentille-0.3.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page