Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

yangchen123321
/
lora-trained-xl-dx_dg

Text-to-Image
Diffusers
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Model card Files Files and versions
xet
Community

Instructions to use yangchen123321/lora-trained-xl-dx_dg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use yangchen123321/lora-trained-xl-dx_dg with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("yangchen123321/lora-trained-xl-dx_dg")
    
    prompt = "A close-up view of a high-voltage power line in a mountainous area, showing a twisted, damaged wire with visible fraying and broken strands. The wire is hanging loosely, with some individual strands of steel wire hanging from the main cable. The surrounding environment is lush with green trees, and in the background, distant wind turbines are visible on the hills. The image has a natural daylight effect, and the wire shows signs of wear and tear due to long-term exposure..\n"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
lora-trained-xl-dx_dg
28.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
yangchen123321's picture
yangchen123321
End of training
9ff258f verified 8 months ago
  • .gitattributes
    1.71 kB
    End of training 8 months ago
  • README.md
    4.71 kB
    End of training 8 months ago
  • image_0.png
    1.22 MB
    xet
    End of training 8 months ago
  • image_1.png
    1.21 MB
    xet
    End of training 8 months ago
  • image_2.png
    1.24 MB
    xet
    End of training 8 months ago
  • image_3.png
    1.1 MB
    xet
    End of training 8 months ago
  • pytorch_lora_weights.safetensors
    23.4 MB
    xet
    End of training 8 months ago