Downloads · 30 days
0
pimcore/IEP__zero-shot-image-classification
IEP__zero-shot-image-classification is a zero-shot image classification model from pimcore. Use it for the zero-shot image classification task on the model card, and read the license before you ship it in a product. It is set up for generic.
This repository implements a custom task for zero-shot-image-classification for 🤗 Inference Endpoints. The code for the customized pipeline is in the handler.py.
Downloads · 30 days
0
Access
Public
Updated Feb 7, 2024
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 44%
From the Hugging Face model README
zero-sho-image-classification Inference endpoint.This repository implements a custom task for zero-shot-image-classification for 🤗 Inference Endpoints. The code for the customized
pipeline is in the handler.py.
To use deploy this model an Inference Endpoint you have to select Custom as task to use the handler.py file.
{
"image": encoded_image,
"parameters": {
"candidate_labels": "green, yellow, blue, white, silver"
}
}
encoded_image is a base64 encoded image.