Instructions to use yahyasmt/brain-tumor-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yahyasmt/brain-tumor-3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yahyasmt/brain-tumor-3", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
can this model be used to recoginize brain tumor by using MRI photo?
#1
by dormi330 - opened
hello. i'd like to know, if I have some MRI photos, can this model be used to diagnose brain tumor?
if so, how to use this model?
no this only for generation brain tumor with promt like "brain tumor mri scan" you can use this model to detect the type of "brain tumor swin-base-patch4-window7-224-in22k-finetuned-brain-tumor-final_13"