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

  • Log In
  • Sign Up

afshr
/
cam_normal

Unconditional Image Generation
Diffusers
TensorBoard
Safetensors
PyTorch
DDPMPipeline
diffusion-models-class
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Diffusers

    How to use afshr/cam_normal with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("afshr/cam_normal", 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
cam_normal / unet
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
afshr's picture
afshr
Epoch 4
6951f49 verified almost 2 years ago
  • config.json
    954 Bytes
    Epoch 1 almost 2 years ago
  • diffusion_pytorch_model.safetensors
    143 MB
    xet
    Epoch 4 almost 2 years ago