Skip to content

Instantly share code, notes, and snippets.

View russdb's full-sized avatar
💭
🖥🖥🖥

David Russell russdb

💭
🖥🖥🖥
View GitHub Profile
@MSFTserver
MSFTserver / disco_v5_plus_Win_Install.md
Last active June 25, 2023 02:13
guide to installing disco v5+ locally on windows

Install Disco Diffusion v5 for Windows

NOTE: Pytorch3d no longer has to be compiled i have stripped out the function we use to make this a lot easier and also so we do not have to use WSL2 with linux and can now run directly on your windows system.

Comments section is not checked often for issues please join the disco diffusion discord for assistance

https://discord.gg/mK4AneuycS

You may now use the official disco diffusion notebook with this tutorial as it has been uodated to reflect the changes here for better cross platform support

VQGAN-CLIP Install Guide

Windows

Create a folder on your PC, cd into that folder, and type the follow commands

git clone https://github.com/openai/CLIP

git clone https://github.com/CompVis/taming-transformers

pip install ftfy regex tqdm omegaconf pytorch-lightning ipywidgets pillow IPython
import math
from moviepy.editor import concatenate, ImageClip
import os
import platform
import subprocess
import random
import torch
# pip install pytorch-pretrained-biggan
from pytorch_pretrained_biggan import (BigGAN, truncated_noise_sample, convert_to_images)
import numpy as np
@gokulkrishh
gokulkrishh / media-query.css
Last active May 5, 2024 08:25
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */