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.2.0.tar.gz
(2.6 kB
view hashes)