Diffusers
ophthalmology
OCT
fundus
medical-imaging
diffusion
stable-diffusion-3
segmentation
instruction-tuning
Instructions to use MaybeRichard/OCTFlow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MaybeRichard/OCTFlow with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MaybeRichard/OCTFlow", 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
OCTFlow 2026-06-10: base_v2+stageA_v3+v3b2 (stripped) + results bundle (report/figs/manuscript)
1fe9f75 verified | { | |
| "condition": "select_RPE", | |
| "kind": "selection", | |
| "note": "只选 RPE", | |
| "K": 1, | |
| "n": 80, | |
| "seed": 0, | |
| "miou": 0.41852669872379317, | |
| "per_class": { | |
| "RPE": 0.41852669872379317 | |
| }, | |
| "prompt": "Segment only the RPE in this OCT B-scan; color them RPE=pink; everything else black." | |
| } |