Instructions to use keffy/hvc_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use keffy/hvc_model with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("keffy/hvc_model") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Create config.yaml
Browse files- config.yaml +3 -0
config.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# YOLOv8 model configuration for Hugging Face
|
| 2 |
+
nc: 2 # Number of classes (rock and non-rock)
|
| 3 |
+
names: ['rock', 'non-rock'] # Class names
|