Instructions to use Arunisto/brain_tumor_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Arunisto/brain_tumor_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Arunisto/brain_tumor_classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Arunisto/brain_tumor_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,419 Bytes
bbb414b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
license: apache-2.0
datasets:
- Arunisto/brain_tumor_dataset
language:
- en
base_model:
- microsoft/swin-tiny-patch4-window7-224
pipeline_tag: image-classification
library_name: transformers
tags:
- computer_vision
- image_classification
---
# Pre-trained swin transformer model for brain tumor classification
## Model Description
This is pre-trained swintransformer model for classify brain tumor.
## Training Dataset
This model trained with MRI Scan images of brain tumor `healthy` and `tumor`
### Dataset Format
- **Images:** JPEG/PNG formats
- **Dataset:** Arunisto/brain_tumor_dataset
## Training Details
- **Model:** microsoft/swin-tiny-patch4-window7-224
- **Framework:** Transformers
- **Epochs:** 10
## Usage
This model can be used to detect two type of brain condition is `healthy` or `tumor`
## Limitations
- The model is perform well only with brain top-side only, and for healthy it's only predicted with the score of 65% only
## Future Work
- needs to run more epochs
- trying to classify different tumor conditions
## License
Apache 2.0
## Citation
If you use this model in your research or projects, please cite it as follows:
```
@misc{arun-arunisto2024yolov8_bike_odometer,
title={Pre-trained swin transformer model for brain tumor classification},
author={Arun Arunisto},
year={2024},
howpublished={\url{https://huggingface.co/Arunisto/brain_tumor_classification}},
}
``` |