Skip to content

Instantly share code, notes, and snippets.

View pixelass's full-sized avatar
😶‍🌫️
who?

Gregor Adams pixelass

😶‍🌫️
who?
  • Hamburg, Germany
  • 20:51 (UTC +02:00)
View GitHub Profile
{
"caption": {
"wd14": {
"SmilingWolf": {
"wd-v1-4-convnext-tagger-v2": {
"previews": [
{
"type": "text",
"content": "monochrome, outdoors, signature, tree, no humans, scenery, road, bush"
}
@pixelass
pixelass / config.json
Created February 5, 2024 14:40
SD 1.5 person LoRA config with AdamW and token shuffling
{
"LoRA_type": "Standard",
"LyCORIS_preset": "full",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
@pixelass
pixelass / config.json
Last active February 5, 2024 14:41
some older sd 1.5 LoRA config
{
"LoRA_type": "Standard",
"LyCORIS_preset": "full",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
@pixelass
pixelass / dadapt_adam_for_style.json
Created February 3, 2024 17:36
Style LoRA config: D-adaptation (DAdaptAdam)
{
"LoRA_type": "Standard",
"LyCORIS_preset": "full",
"adaptive_noise_scale": 0,
"additional_parameters": "--network_train_unet_only",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
@pixelass
pixelass / SDXL_style_prompts.csv
Created September 29, 2023 12:43
SDXL_style_prompts.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
name,prompt,negative_prompt
Analog Film,"analog film photo {prompt} . faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage","painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured, {prompt}"
Anime,"anime artwork {prompt} . anime style, key visual, vibrant, studio anime, highly detailed","photo, deformed, black and white, realism, disfigured, low contrast, {prompt}"
Cinematic,"cinematic film still {prompt} . shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy","anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured, {prompt}"
Comic Book,"comic {prompt} . graphic illustration, comic art, graphic novel art, vibrant, highly detailed","photograph, deformed, glitch, noisy, realistic, stock photo, {prompt}"
Craft Clay,"play-doh style {prompt} . sculpture, clay art, centered compo
@pixelass
pixelass / config.json
Last active January 17, 2024 15:42
kohya style LoRA config
{
"LoRA_type": "Standard",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
"cache_latents": true,
@pixelass
pixelass / linksRenderMode.js
Last active August 1, 2023 10:36
ComfyUI setting for link render mode
import { app } from "../scripts/app.js";
const name = "Pixelass.Settings.LinkRenderMode";
class Store {
links_render_mode = 0;
key = `Comfy.extension`;
defaultState = {};
constructor(key, defaultState) {
this.key = `Comfy.${key}`;
@pixelass
pixelass / config.json
Last active August 6, 2023 15:21
Kohya_ss config sdxl 1.0 LoRA
{
"LoRA_type": "Standard",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
"cache_latents": true,
@pixelass
pixelass / fetch.js
Last active February 13, 2018 16:55
fetch.js
class Ajax {
constructor(opts) {
this.callbacks = {}
this.on = this.on.bind(this)
this.fetch = this.fetch.bind(this)
this.error = this.error.bind(this)
this.data = this.data.bind(this)
this.complete = this.complete.bind(this)
return {...this.methods}
}
@pixelass
pixelass / DOMestic.js
Created April 29, 2016 16:45
virtual DOM helper
const DOMestic = (tpl) => {
const attach = parent => {
if (typeof parent !== 'object' || !parent.hasOwnProperty('el')) {
return console.error('parent should be an object with the property \'el\'');
}
let children = Array.from(parent.el.children);
let keys = [];
children.forEach((el, index) => {
let key = el.getAttribute('key');
el.removeAttribute('key');