Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

microsoft
/
mri-autoencoder-v0.1

Diffusers
Safetensors
English
MRI
medical-imaging
VAE
autoencoder
Model card Files Files and versions
xet
Community
3

Instructions to use microsoft/mri-autoencoder-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use microsoft/mri-autoencoder-v0.1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("microsoft/mri-autoencoder-v0.1", 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
mri-autoencoder-v0.1
225 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
pidajay's picture
pidajay
Added conda environment file for users to run notebook outside colab
b4b3a76 about 2 years ago
  • example_data
    Commited model weights and demo code over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • LICENSE.md
    1.07 kB
    Commited model weights and demo code over 2 years ago
  • README.md
    2.66 kB
    Commited model weights and demo code over 2 years ago
  • autoencoders_demo.ipynb
    1.62 MB
    Set runtime to GPU over 2 years ago
  • config.json
    540 Bytes
    Update VAE scale factor over 2 years ago
  • data_preprocessing_recipe.py
    7.67 kB
    Commited model weights and demo code over 2 years ago
  • data_utils.py
    1.1 kB
    Commited model weights and demo code over 2 years ago
  • diffusion_pytorch_model.safetensors
    221 MB
    xet
    Commited model weights and demo code over 2 years ago
  • environment.yml
    433 Bytes
    Added conda environment file for users to run notebook outside colab about 2 years ago
  • inference.py
    1.47 kB
    Commited model weights and demo code over 2 years ago
  • metrics.py
    1.07 kB
    Commited model weights and demo code over 2 years ago