5

這兩個禮拜爆紅的 Stable Diffusion

 2 years ago
source link: https://blog.gslin.org/archives/2022/09/06/10878/%e9%80%99%e5%85%a9%e5%80%8b%e7%a6%ae%e6%8b%9c%e7%88%86%e7%b4%85%e7%9a%84-stable-diffusion/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

這兩個禮拜爆紅的 Stable Diffusion

Stable DiffusionStability AI 訓練出來的 model,跟之前提到的 DALL-E 最大的差異就是產生出的圖的限制少很多:

Unlike competing models like DALL-E, Stable Diffusion is open source and does not artificially limit the images it produces, though the license prohibits certain harmful use cases.

這也造就了這兩個禮拜整個 Stable Diffusion 的各種應用急速成長。

Simon Willison 的「Stable Diffusion is a really big deal」這篇來當作總覽還不錯。

除了授權使用上的限制以外,在技術上的限制也比較少 (有很大一部分會歸功於社群的各種 porting),包括了:

除了先前大家已經熟悉的 txt2img 功能以外,Stable Diffusion 另外提供了 img2img 的能力,也就是先給一張圖,然後再給對應的句子要求 Stable Diffusion 去改這張圖,所以就會有像是把這張圖:

ds8AxBU.png

加上「A distant futuristic city full of tall buildings inside a huge transparent glass dome, In the middle of a barren desert full of large dunes, Sun rays, Artstation, Dark sky full of stars with a shiny sun, Massive scale, Fog, Highly detailed, Cinematic, Colorful」的句子後,提供了這張圖:

nZfDZcf.jpg

以及這張圖:

sjWZTjm.jpg

這樣可玩性又多了不少...

Related

FreeBSD UFS2 的 SU+J

FreeBSD 上主要是靠 Soft updates 維持當 Filesystem 不正常 umount 時的資料安全,在 Linux 上比較常見的方式則是 Journaling file system,兩個方式有不同的走向。 FreeBSD 最近也有 ZFS 了。ZFS 用的技巧類似 Journaling,不過也利用類似 Soft updates 的想法避免硬碟內的資料不一致。不過穩定性與效能沒辦法跟 UFS2 相比。 最近 Jeff Roberson 又活躍起來了 (之前弄 FreeBSD 7 的 SCHED_ULE 2 以及 FreeBSD 8 的 SCHED_SMP),在接受廠商的贊助後試著改善 UFS2 的 Soft updates,把 Journaling 的技巧引進 UFS2,希望再減少 fsck 的需求:「Journaling softupdates,…

December 24, 2009

In "Computer"

WordPress.com

沒錯,WordPress.com。 我剛剛收到 WordPress.com 的邀請信 (我有去填 invitation requesting),看了一下發現他似乎是追著 WordPress 1.6-ALPHA-2-still-dont-use 跑 (像是 Javascript 的淡出效果)。 Theme 的部分... 有得獎的那幾個都有進去: Almost Spring (之前用過) Blix (ijliao 天位大長輩 現在用的那個) Connections (Blake 學長 用的那個) Green Marinée (這也很讚,可是好像沒看到誰在用?) Ocadia (我現在用的這個) Pool (這我沒印象) 兩個 WordPress 內建的 Theme 然後也可以 Upload files,可以上傳 jpg/jpeg/png/gif/mp3/mov (怎麼只有 mov?綁標啊!),單檔限制 1.5MB,總空間限制 25MB。 另外就是可以控制的部分少很多,不過對於一般的 User 來說應該還不錯就是了,不用顧慮一堆有的沒的 bugfix…

September 21, 2005

In "Blog"

JavaScript 的 sort 變成 stable

看到「Stable Array.prototype.sort」這篇在講 JavaScript 規格書裡的 sort... 本來 JavaScript 的規格書裡,各種 sort 都沒有保證 stable,而在「[Normative] Make Array.prototype.sort stable #1340」與「[Normative] Make %TypedArray%.prototype.sort stable #1433」這兩個地方則有了變化,提案在規格裡加入 stable 的要求,可以減少開發者因為不知道 unstable 而造成的問題... Firefox 則是很久前就決定使用 Merge sort 了 (看了一下,當時還在從 Firebird 轉換名稱到 Firefox 的時期):「Array.sort isn't a stable sort (switch to MergeSort)」。 另外這篇也剛好提到了 V8 使用 Timsort 當作 stable sorting algorithm,之前就有看到但發現沒在 blog 上提過...…

July 3, 2019

In "Browser"

a611ee8db44c8d03a20edf0bf5a71d80?s=49&d=identicon&r=gAuthor Gea-Suan LinPosted on September 6, 2022September 6, 2022Categories Computer, Murmuring, Photo, Recreation, SoftwareTags diffusion, image, learning, machine, model, open, photo, source, stable

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment *

Name *

Email *

Website

Notify me of follow-up comments by email.

Notify me of new posts by email.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)

Post navigation


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK