File size: 561 Bytes
9141ade
234fb3d
9141ade
 
 
 
 
 
 
 
 
 
 
234fb3d
 
9141ade
 
234fb3d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
pipeline_tag: image-classification
---

# Carb Regression Model

This model predicts carbohydrate content from food images.

## Usage

```python
from transformers import pipeline

classifier = pipeline("image-classification", model="pinkieseb/carb_regression_model")
result = classifier("path/to/image.jpg")
print(result)
```

Note: Although this model performs regression, we're using the "image-classification" pipeline as it's the closest standard pipeline for our task. The output will be a single value representing the predicted carbohydrate content.