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

  • Log In
  • Sign Up

yutengz
/
Action2Vision

Image-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionInstructPix2PixPipeline
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Diffusers

    How to use yutengz/Action2Vision 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("yutengz/Action2Vision", 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
Action2Vision
5.07 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 32 commits
yutengz's picture
yutengz
Update README.md
9e18604 verified about 1 year ago
  • feature_extractor
    Upload feature_extractor/preprocessor_config.json with huggingface_hub about 1 year ago
  • img
    Upload 4 files about 1 year ago
  • logs
    Upload logs/instruct-pix2pix/1746265788.7807899/hparams.yml with huggingface_hub about 1 year ago
  • safety_checker
    Upload safety_checker/config.json with huggingface_hub about 1 year ago
  • scheduler
    Upload scheduler/scheduler_config.json with huggingface_hub about 1 year ago
  • text_encoder
    Upload text_encoder/config.json with huggingface_hub about 1 year ago
  • tokenizer
    Upload tokenizer/vocab.json with huggingface_hub about 1 year ago
  • unet
    Upload unet/diffusion_pytorch_model.safetensors with huggingface_hub about 1 year ago
  • vae
    Upload vae/diffusion_pytorch_model.safetensors with huggingface_hub about 1 year ago
  • .DS_Store
    8.2 kB
    Upload .DS_Store with huggingface_hub about 1 year ago
  • .gitattributes
    1.63 kB
    Upload 4 files about 1 year ago
  • README.md
    1.4 kB
    Update README.md about 1 year ago
  • loss_curve.png
    36.8 kB
    Upload loss_curve.png with huggingface_hub about 1 year ago
  • model_index.json
    710 Bytes
    Upload model_index.json with huggingface_hub about 1 year ago