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")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("merenn/objectdetection", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Rename config.json to config.yaml
Browse files- config.json +0 -1
- config.yaml +5 -0
config.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{"input_size": 640, "task": "object-detection", "labels": "upper body, lower body, full body"}
|
|
|
|
|
|
config.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
train: /content/drive/MyDrive/bodypartdetection/data/train/images
|
| 2 |
+
val: /content/drive/MyDrive/bodypartdetection/data/valid/images
|
| 3 |
+
|
| 4 |
+
nc: 3
|
| 5 |
+
names: ['upper body', 'lower body', 'full body']
|