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

  • Log In
  • Sign Up

bchao1
/
foveated_diffusion

Text-to-Image
Diffusers
lora
diffusion
foveated-rendering
text-to-video
Model card Files Files and versions
xet
Community

Instructions to use bchao1/foveated_diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use bchao1/foveated_diffusion with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("bchao1/foveated_diffusion")
    
    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
foveated_diffusion
385 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
bchao1's picture
bchao1
Update model card
3b7d8ae verified 1 day ago
  • image
    Upload foveated_diffusion image LoRAs 1 day ago
  • video
    Upload foveated_diffusion image LoRAs 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    3.09 kB
    Update model card 1 day ago