Skip to content

Instantly share code, notes, and snippets.

View looeee's full-sized avatar

Lewy Blue looeee

View GitHub Profile
@looeee
looeee / sd-windows-install.md
Last active December 17, 2022 00:27
Install AUTOMATIC1111/stable-diffusion-webui on Windows

If you check the wiki and readme on AUTOMATIC1111/stable-diffusion-webui you would be forgiven for thinking that installing this will be easy. It's not! There are loads of prerequisites and potential issues that will confuse the hell out of you unless you are already very familiar with running Python ML packages.

We will install AUTOMATIC1111 into in C:\dev\stable-diffusion-webui. But most of this probably applies to other stable diffusion installs too.

WSL

If you're thinking about using WSL, you probably stop thinking that. It seems like there's a bunch of issues that make this way more complicated than installing directly under Linux would be. I wasted several hours on this. You might have more luck but make sure to read the WSL install docs before you start!

@looeee
looeee / getAssets.js
Last active July 22, 2021 17:41
Download all CC-BY Google.Poly models
// Step 2: Use the generated lists to fetch the assets.
// Only store glTF V2, metadata, and thumbnail.
// Other formats like OBJ, FBX, glTF V1 are ignored
// No API key needed here
// Checks to see if each file already exists before downloading so if the script gets interrupted just
// restart it and it'll continue where it left off
const fs = require("fs").promises;
const got = require("got");
const path = require("path");
@looeee
looeee / gist:afa09b764079d8432a97d5d8e7cd34ae
Created May 24, 2019 04:00
3DS Max Physical Material exported to ASCII FBX
Material: 2333659356448, "Material::Material #25", "" {
Version: 102
ShadingModel: "unknown"
MultiLayer: 0
Properties70: {
P: "ShadingModel", "KString", "", "", "unknown"
P: "AmbientColor", "ColorRGB", "Color", "",0.5,0.5,0.5
P: "DiffuseColor", "ColorRGB", "Color", "",0.5,0.5,0.5
P: "SpecularColor", "ColorRGB", "Color", "",1,1,1
P: "SpecularFactor", "double", "Number", "",2