Instructions to use sroot/lgd-cards-gen4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use sroot/lgd-cards-gen4 with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("sroot/lgd-cards-gen4", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Download model.classes.json from sroot/lgd-cards-gen4: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/sroot/lgd-cards-gen4/resolve/main/model.classes.json
- Command line
-
hf download hf://sroot/lgd-cards-gen4/model.classes.json
-
curl -L -o model.classes.json https://huggingface.co/sroot/lgd-cards-gen4/resolve/main/model.classes.json
316 Bytes
| ["10C", "10D", "10H", "10S", "2C", "2D", "2H", "2S", "3C", "3D", "3H", "3S", "4C", "4D", "4H", "4S", "5C", "5D", "5H", "5S", "6C", "6D", "6H", "6S", "7C", "7D", "7H", "7S", "8C", "8D", "8H", "8S", "9C", "9D", "9H", "9S", "AC", "AD", "AH", "AS", "JC", "JD", "JH", "JS", "KC", "KD", "KH", "KS", "QC", "QD", "QH", "QS"] |