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
      • 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-gbps

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-gbps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use yangchen123321/lora-trained-xl-gbps 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-gbps")
    
    prompt = "A realistic photo of a damaged concrete cover slab on the ground, \nwith a broken hole exposing the dark underground cavity and pipes, \ncracked and chipped concrete edges, rough surface texture, \noutdoor pavement environment, \ncivil infrastructure defect, \nengineering inspection perspective, \nnatural lighting, high detail, high resolution, photorealistic\n"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
lora-trained-xl-gbps
32 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
yangchen123321's picture
yangchen123321
End of training
5a823cb verified 5 months ago
  • .gitattributes
    1.71 kB
    End of training 5 months ago
  • README.md
    3.9 kB
    End of training 5 months ago
  • image_0.png
    2.09 MB
    xet
    End of training 5 months ago
  • image_1.png
    2.22 MB
    xet
    End of training 5 months ago
  • image_2.png
    2.19 MB
    xet
    End of training 5 months ago
  • image_3.png
    2.13 MB
    xet
    End of training 5 months ago
  • pytorch_lora_weights.safetensors
    23.4 MB
    xet
    End of training 5 months ago