Carb Regression Model
This model predicts carbohydrate content from food images.
Usage
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.