- Test application for latent inversion.
- Apply adain to noise predition to see if it mitigates color learning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc | |
from collections import OrderedDict | |
# leave in this if for autoformatting purposes | |
if True: | |
import torch | |
from safetensors.torch import load_file, save_file | |
def flush(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from diffusers import EulerDiscreteScheduler, DDPMScheduler | |
import torch | |
name_or_path = "stabilityai/stable-diffusion-xl-base-1.0" | |
euler = EulerDiscreteScheduler.from_pretrained( | |
name_or_path, subfolder="scheduler" | |
) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Interrogator using BLIP2\n | |
""" | |
# set gpu to 1 | |
# set pci bus order | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aboriginal | |
above average | |
abstract composition | |
abusive | |
accessories | |
accountant | |
acid wash | |
acne-prone skin | |
acne scars |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smiling mouth revealing white straight teeth - 24426 | |
anxious expression with biting lower lip - 17012 | |
shallow depth of field - 16806 | |
early childhood age - 14067 | |
social worker - 12566 | |
smiling mouth revealing slightly crooked teeth - 12329 | |
broad grin revealing straight white teeth - 11336 | |
pediatrician - 11212 | |
preschooler age - 10873 | |
headshot - 10462 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Move Schools | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.zillow.com/** | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=zillow.com | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.4.1.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parallelSync(arrOfSyncFunctions){ | |
return new Promise(async resolve =>{ | |
let numToResolve = arrOfSyncFunctions.length; | |
let numResolved = 0; | |
// call after each async function resolves | |
const resolveOne = () =>{ | |
numResolved++; | |
if(numResolved >= numToResolve){ | |
// all functions have resolved. Resolve finally | |
resolve(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DREAMS=5 | |
#use 6 numbers important | |
ITERATIONS=5 | |
FILE=$1 | |
## Get the file name and path | |
LOCALPATH="$(dirname "$FILE")" | |
LOCALPATHSLASH="$LOCALPATH/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf8"> | |
<title>Simple Webcam Viewer</title> | |
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" | |
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> | |
<style> | |
* { | |
box-sizing: border-box; |
NewerOlder