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

  • Log In
  • Sign Up

ShambaC
/
SAR-Intruct-Pix2Pix

Image-to-Image
Diffusers
Safetensors
English
StableDiffusionInstructPix2PixPipeline
Model card Files Files and versions
xet
Community

Instructions to use ShambaC/SAR-Intruct-Pix2Pix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ShambaC/SAR-Intruct-Pix2Pix with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ShambaC/SAR-Intruct-Pix2Pix", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
SAR-Intruct-Pix2Pix
46.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ShambaC's picture
ShambaC
Update README.md
896d764 verified 8 months ago
  • checkpoint-10000
    End of training 8 months ago
  • checkpoint-15000
    End of training 8 months ago
  • checkpoint-5000
    End of training 8 months ago
  • feature_extractor
    End of training 8 months ago
  • safety_checker
    End of training 8 months ago
  • scheduler
    End of training 8 months ago
  • text_encoder
    End of training 8 months ago
  • tokenizer
    End of training 8 months ago
  • unet
    End of training 8 months ago
  • vae
    End of training 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • .gitignore
    15 Bytes
    End of training 8 months ago
  • README.md
    177 Bytes
    Update README.md 8 months ago
  • model_index.json
    703 Bytes
    End of training 8 months ago