- Test application for latent inversion.
- Apply adain to noise predition to see if it mitigates color learning
This file contains hidden or 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 contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 | |
import os | |
# leave in this if for autoformatting purposes | |
if True: | |
import torch | |
from safetensors.torch import load_file, save_file | |
This file contains hidden or 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 | |
import os | |
# leave in this if for autoformatting purposes | |
if True: | |
import torch | |
from safetensors.torch import load_file, save_file | |
OlderNewer