- Waifu Diffusion を Colab 無料枠で動かそうとするとメモリが溢れてしまう
- wd-v1-2-full-ema.cpkt には画像生成するだけなら不要な情報が乗っているため
- 本来ならfull-emaでないモデルを用意すべき
- 暫定案としてVRAMに直接ロードするようパッチを当てると、メモリが節約できてギリギリ動作する
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
| # 公式サイトにある Docker を使った手順では Addon 導入ができないなど機能制限が多い | |
| # 推奨は Home Assistant Operating System の導入だが、 Raspberry Pi OS に入れたい場合は以下手順を取る | |
| # この手順では AppArmor や cgroups などセキュリティ周りの設定が不完全になることに注意 | |
| # 導入後に設定画面の指示に従って適宜修正が必要 | |
| # docker を入れる | |
| curl https://get.docker.com | sh | |
| # 一旦再起動 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| """Beat Saber の未圧縮ディレクトリを zip 形式に変換する | |
| Beat Saber の曲ディレクトリが以下のようになっているとき | |
| * 親ディレクトリ | |
| * 曲ディレクトリ1 | |
| * 曲ディレクトリ2 | |
| * 曲ディレクトリ3 | |
| 以下を出力する |
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
| -- This is free and unencumbered software released into the public domain. | |
| local function cubic_bezier_implicit(t, p1, p2) | |
| return p1 * (1-t) ^ 2 * t + p2 * (1-t) * t ^ 2 + t ^ 3 | |
| end | |
| local function t_search(x, p1, p2) | |
| if x == 0 then | |
| return 0 | |
| elseif x == 1 then |
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
| diff --git a/avrdude/Makefile.am b/avrdude/Makefile.am | |
| index 1d915b0..be277c8 100644 | |
| --- a/avrdude/Makefile.am | |
| +++ b/avrdude/Makefile.am | |
| @@ -66,7 +66,7 @@ avrdude_CFLAGS = @ENABLE_WARNINGS@ | |
| libavrdude_a_CFLAGS = @ENABLE_WARNINGS@ | |
| libavrdude_la_CFLAGS = $(libavrdude_a_CFLAGS) | |
| -avrdude_LDADD = $(top_builddir)/$(noinst_LIBRARIES) @LIBUSB_1_0@ @LIBUSB@ @LIBFTDI1@ @LIBFTDI@ @LIBHID@ @LIBELF@ @LIBPTHREAD@ -lm | |
| +avrdude_LDADD = $(top_builddir)/$(noinst_LIBRARIES) @LIBUSB_1_0@ @LIBUSB@ @LIBFTDI1@ @LIBFTDI@ @LIBFTD2XX@ @LIBHID@ @LIBELF@ @LIBPTHREAD@ -lm |
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
| #!/usr/bin/perl | |
| ###################################################################### | |
| # | |
| # File : split_bootimg.pl | |
| # Author(s) : William Enck <[email protected]> | |
| # Description : Split appart an Android boot image created | |
| # with mkbootimg. The format can be found in | |
| # android-src/system/core/mkbootimg/bootimg.h | |
| # | |
| # Thanks to alansj on xda-developers.com for |
NewerOlder