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

  • Log In
  • Sign Up

GreeneryScenery
/
SheepsControlV1

Image-to-Image
Diffusers
ControlNet
art
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use GreeneryScenery/SheepsControlV1 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("GreeneryScenery/SheepsControlV1", 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
SheepsControlV1
1.46 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
GreeneryScenery's picture
GreeneryScenery
Update README.md
dbe775f about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    895 Bytes
    Update README.md about 3 years ago
  • config.json
    954 Bytes
    End of training about 3 years ago
  • diffusion_pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    1.46 GB
    xet
    End of training about 3 years ago
  • example_input.png
    30.9 kB
    Upload 2 files about 3 years ago
  • example_output.png
    140 kB
    Upload 2 files about 3 years ago