Convert mac-os-el-capitan-pkg-to-iso.sh from using hdiutil and asr to using Linux utilities.
Important: You will need about 30GB of free disk space.
| # Script for converting a HF Diffusers saved pipeline to a Stable Diffusion checkpoint. | |
| # *Only* converts the UNet, VAE, and Text Encoder. | |
| # Does not convert optimizer state or any other thing. | |
| # Written by jachiam | |
| import argparse | |
| import os.path as osp | |
| import torch |
| import torch | |
| import numpy as np | |
| import k_diffusion as K | |
| from PIL import Image | |
| from torch import autocast | |
| from einops import rearrange, repeat | |
| def pil_img_to_torch(pil_img, half=False): | |
| image = np.array(pil_img).astype(np.float32) / 255.0 |
Convert mac-os-el-capitan-pkg-to-iso.sh from using hdiutil and asr to using Linux utilities.
Important: You will need about 30GB of free disk space.
| --[[--------------------------------------------------------------------------- | |
| DarkRP custom shipments and guns | |
| --------------------------------------------------------------------------- | |
| This file contains your custom shipments and guns. | |
| This file should also contain shipments and guns from DarkRP that you edited. | |
| Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua | |
| Once you've done that, copy and paste the shipment to this file and edit it. |
| local derpdictionary = { | |
| ["garry"] = {"gaery newbmen", "gery"}, | |
| ["gmod"] = {"jbmod", "gaymod"}, | |
| ["about"] = {"abt", "abot"}, | |
| ["above"] = {"aboev"}, | |
| ["accept"] = {"acept"}, | |
| ["actually"] = {"accualy", "acuali", "accually"}, | |
| ["addicted"] = {"adikted"}, | |
| ["addict"] = {"adikt"}, | |
| ["after"] = {"aftr"}, |
| /* | |
| * oscP5sendreceive by andreas schlegel | |
| * example shows how to send and receive osc messages. | |
| * oscP5 website at http://www.sojamo.de/oscP5 | |
| * modified by Kasper Kamperman | |
| * OSC explanation video: https://youtu.be/0uOR2idKvrM | |
| */ | |
| import oscP5.*; | |
| import netP5.*; |
| /* | |
| * MPFF file format encoder | |
| * Copyright (c) 2015 Jonathan Whitaker, Christopher Hartley | |
| * | |
| * FFmpeg is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | |
| * | |
| * FFmpeg is distributed in the hope that it will be useful, |
| #NoEnv | |
| #Warn All | |
| #Warn LocalSameAsGlobal, Off | |
| #Persistent | |
| /* | |
| Speech Recognition | |
| ================== | |
| A class providing access to Microsoft's SAPI. Requires the SAPI SDK. |