These instructions are based on DreamBooth usage with the https://github.com/ShivamShrirao/diffusers repo.
Below are 2 files. "convertToCkpt.py" and "toCkpt.sh". Create those files inside the examples/dreambooth folder with the code provided.
These instructions are based on DreamBooth usage with the https://github.com/ShivamShrirao/diffusers repo.
Below are 2 files. "convertToCkpt.py" and "toCkpt.sh". Create those files inside the examples/dreambooth folder with the code provided.
| { config, lib, pkgs, ... }: | |
| with lib; | |
| { | |
| imports = | |
| [ | |
| <nixpkgs/nixos/modules/installer/cd-dvd/channel.nix> | |
| ./machine-config.nix | |
| ]; |
| const winston = require('winston'); | |
| const { join, basename, dirname } = require('path'); | |
| const fs = require('fs'); | |
| const logform = require('logform'); | |
| // const { MESSAGE } = require('triple-beam'); // prop for info in winston formater to expose the shown message | |
| function filterMessagesFormat(filterFunc = () => true) { | |
| const formatFunc = (info) => { | |
| if (filterFunc(info.message)) return info; | |
| return null; |
| #standardsql | |
| WITH a AS ( | |
| SELECT * FROM UNNEST([1,2,3,4]) AS n | |
| ), b AS ( | |
| SELECT * FROM UNNEST([4,5,6,7]) AS n) | |
| SELECT * FROM a |
If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:
$ git config --global commit.gpgsign true ([OPTIONAL] every commit will now be signed)$ git config --global user.signingkey ABCDEF01 (where ABCDEF01 is the fingerprint of the key to use)$ git config --global alias.logs "log --show-signature" (now available as $ git logs)$ git config --global alias.cis "commit -S" (optional if global signing is false)$ echo "Some content" >> example.txt$ git add example.txt$ git cis -m "This commit is signed by a GPG key." (regular commit will work if global signing is enabled)