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-jyz_pl

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

  • Libraries
  • Diffusers

    How to use yangchen123321/lora-trained-xl-jyz_pl 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-jyz_pl")
    
    prompt = "A photorealistic industrial inspection photo of a damaged high-voltage ceramic insulator. Brown glazed porcelain shows severe spalling, chipped coating, exposed white ceramic core, cracks, irregular fracture edges, and material loss on shed surfaces. Strong contrast between glossy intact glaze and rough fractured areas, with aging, weathering, dust, and electrical wear in an outdoor power transmission setting.\n"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
lora-trained-xl-jyz_pl
97.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
yangchen123321's picture
yangchen123321
End of training
d8bf528 verified 8 months ago
  • checkpoint-500
    End of training 8 months ago
  • .gitattributes
    1.71 kB
    End of training 8 months ago
  • README.md
    4.2 kB
    End of training 8 months ago
  • image_0.png
    598 kB
    xet
    End of training 8 months ago
  • image_1.png
    806 kB
    xet
    End of training 8 months ago
  • image_2.png
    874 kB
    xet
    End of training 8 months ago
  • image_3.png
    658 kB
    xet
    End of training 8 months ago
  • pytorch_lora_weights.safetensors
    23.4 MB
    xet
    End of training 8 months ago