These are mapping files that go between class IDs to class names. These are generated from the training CSV files from each dataset by collecting the unique classes, sorting them, and then numbering them from 0 upwards.
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
| // Plane folding | |
| // Copyright by tsulej 2014, edited by Etienne Jacob (necessary-disorder.tumblr.com) | |
| // click mouse to change drawing | |
| float step ; | |
| Folds f; | |
| int[] folds = new int[8]; | |
| void setup() { | |
| size(500, 500); |
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
| int[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { | |
| if (p < 0.5) | |
| return 0.5 * pow(2*p, g); |
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
| # git clone https://github.com/NVlabs/stylegan2 | |
| import os | |
| import numpy as np | |
| from scipy.interpolate import interp1d | |
| from scipy.io import wavfile | |
| import matplotlib.pyplot as plt | |
| import PIL.Image | |
| import moviepy.editor | |
| import dnnlib |
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 tkinter import * | |
| from PIL import ImageTk,Image | |
| import time | |
| import os | |
| targetImageWidth = 850 | |
| targetImageHeight = 400 | |
| inputImageWidth = 0 | |
| inputImageHeight = 0 |
For something like https://www.instagram.com/holosomnia/
- 768 x 1024
- High guidance scale 18k and above,
- 200-250 steps,
- 4000+ tv scale,
- lower range scale to 80,
- higher sat scale 2000+,
OlderNewer
