How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="luminoussg/xraynewww")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("luminoussg/xraynewww")
model = AutoModelForImageClassification.from_pretrained("luminoussg/xraynewww", device_map="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Image Classification

Validation Metrics

loss: 0.08583971858024597

f1: 0.9841642228739003

precision: 0.9940758293838863

recall: 0.9744483159117305

auc: 0.9978146585977138

accuracy: 0.976824034334764

Downloads last month
9
Safetensors
Model size
85.8M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for luminoussg/xraynewww

Finetuned
(2089)
this model