Instructions to use iamPony/logo_recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iamPony/logo_recognition with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iamPony/logo_recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from iamPony/logo_recognition: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/iamPony/logo_recognition/resolve/main/config.json
- Command line
-
hf download hf://iamPony/logo_recognition/config.json
-
curl -L -o config.json https://huggingface.co/iamPony/logo_recognition/resolve/main/config.json
511 Bytes
| { | |
| "model_type": "zero-shot object detection", | |
| "tokenizer": { | |
| "do_lower_case": true, | |
| "...": "..." | |
| }, | |
| "preprocessing": { | |
| "max_length": 512, | |
| "truncation": true, | |
| "...": "..." | |
| }, | |
| "postprocessing": { | |
| "score_threshold": 0.5, | |
| "...": "..." | |
| }, | |
| "task_specific_params": { | |
| "zero_shot_detection": { | |
| "label_map": { | |
| "0": "Logo A", | |
| "1": "Logo B", | |
| "...": "..." | |
| } | |
| }, | |
| "...": "..." | |
| } | |
| } | |