Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

stanfordmimi
/
RoentGen-v2

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
medical
chest-X-ray
Model card Files Files and versions
xet
Community

Instructions to use stanfordmimi/RoentGen-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use stanfordmimi/RoentGen-v2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stanfordmimi/RoentGen-v2", 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 Settings
  • Draw Things
  • DiffusionBee

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

By agreeing you confirm that you are credentialed and allowed to use MIMIC-CXR, and will only share access to the model with people that are also credentialed for MIMIC-CXR. Relevant data use agreement: https://physionet.org/content/mimic-cxr/view-dua/2.0.0/

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • feature_extractor
    Upload folder using huggingface_hub about 1 year ago
  • scheduler
    Upload folder using huggingface_hub about 1 year ago
  • text_encoder
    Upload folder using huggingface_hub about 1 year ago
  • text_encoder_and_tokenizer
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer
    Upload folder using huggingface_hub about 1 year ago
  • unet
    Upload folder using huggingface_hub about 1 year ago
  • vae
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.58 kB
    Upload visual_examples.png about 1 year ago
  • README.md
    2.27 kB
    Update README.md about 1 year ago
  • config.yaml
    1.58 kB
    Upload folder using huggingface_hub about 1 year ago
  • model_index.json
    648 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • visual_examples.png
    6.16 MB
    xet
    Upload visual_examples.png about 1 year ago