https://github.com/cloneofsimo/lora_dreambooth_replicate

https://github.com/cloneofsimo/lora_dreambooth_replicate

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.9%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cloneofsimo
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 3.64 MB
Statistics
  • Stars: 4
  • Watchers: 2
  • Forks: 4
  • Open Issues: 1
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme

readme.md

Use LoRA PTI Cog

First, download the pre-trained weights with your Hugging Face auth token:

cog run script/download-weights <your-hugging-face-auth-token>

Then, you can run train your dreambooth:

cog predict -i instance_data=@quo.zip

Resulting file will contain LoRAs that can be used with patch_pipe function:

```python from diffusers import StableDiffusionPipeline from loradiffusion import patchpipe, tunelorascale, image_grid import torch

model_id = "runwayml/stable-diffusion-v1-5"

pipe = StableDiffusionPipeline.frompretrained(modelid, torch_dtype=torch.float16).to( "cuda:1" )

patchpipe(pipe, "./step1000.safetensors") prompt = "detailed photo of , detailed face, a brown cloak, brown steampunk corset, belt, virtual youtuber, cowboy shot, feathers in hair, feather hair ornament, white shirt, brown gloves, shooting arrows"

tunelorascale(pipe.unet, 0.8) tunelorascale(pipe.text_encoder, 0.8)

imgs = pipe( [prompt], numinferencesteps=50, guidance_scale=4.5, height=640, width=512, ).images ...

```

Example Doc on running safetensor PTI outputs at inference_example.ipynb

Owner

  • Name: Simo Ryu
  • Login: cloneofsimo
  • Kind: user
  • Company: Corca AI

Cats are Turing machines cloneofsimo@gmail.com

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 6
  • Total Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
SimoRyu c****o@k****r 6
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • anotherjesse (1)
Top Labels
Issue Labels
Pull Request Labels