Instructions to use dima806/brain_tumor_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/brain_tumor_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dima806/brain_tumor_detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("dima806/brain_tumor_detection") model = AutoModelForImageClassification.from_pretrained("dima806/brain_tumor_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatured33cfd0
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (67eaff428f8a23147aab8e40bb44736ca2942172) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>615821d -
Create README.md
9d419f2 -
Upload . with huggingface_hub
26d9cd2 -
initial commit
278dee3