Instructions to use NeuronZero/CXR-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeuronZero/CXR-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="NeuronZero/CXR-Classifier") 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("NeuronZero/CXR-Classifier") model = AutoModelForImageClassification.from_pretrained("NeuronZero/CXR-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
ab95481 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0d72869a1789240ec793fc99d9052d02e4045c77da432a56e37b2a712c0cd97c
size 686563258
|