Instructions to use merenn/objectdetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use merenn/objectdetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="merenn/objectdetection")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("merenn/objectdetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from merenn/objectdetection: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/merenn/objectdetection/resolve/main/config.json
- Command line
-
hf download hf://merenn/objectdetection/config.json
-
curl -L -o config.json https://huggingface.co/merenn/objectdetection/resolve/main/config.json
227 Bytes
| { | |
| "train": "/content/drive/MyDrive/bodypartdetection/data/train/images", | |
| "val": "/content/drive/MyDrive/bodypartdetection/data/valid/images", | |
| "nc": 3, | |
| "names": [ | |
| "upper body", | |
| "lower body", | |
| "full body" | |
| ] | |
| } |