Buckets:
| import{s as Mt,n as yt,o as Ht}from"../chunks/scheduler.94020406.js";import{S as Pt,i as kt,g as a,s as l,r as k,E as It,h as r,f as n,c as s,j as wt,u as I,x as o,k as Ct,y as Ut,a as i,v as U,d as q,t as z,w as R}from"../chunks/index.a08c8d92.js";import{C as Lt}from"../chunks/CodeBlock.b23cf525.js";import{H as rt,E as qt}from"../chunks/EditOnGithub.b1bceb47.js";function zt(ot){let f,A,Z,E,d,G,g,ft="์ด๋ฒ ์ฑํฐ์์๋ ๋ค์ํ ์ ์ฆ์ผ์ด์ค๋ค์ ๋ํ ์์ ์ฝ๋๋ค์ ํตํด ์ด๋ป๊ฒํ๋ฉด ํจ๊ณผ์ ์ผ๋ก <code>diffusers</code> ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ์ฉํ ์ ์์๊น์ ๋ํด ์์๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค.",J,u,dt='<strong>Note</strong>: ํน์ ์คํผ์ ํ ์์์ฝ๋๋ฅผ ์ฐพ๊ณ ์๋ค๋ฉด, <a href="https://github.com/huggingface/diffusers/tree/main/src/diffusers/pipelines" rel="nofollow">์ฌ๊ธฐ</a>๋ฅผ ์ฐธ๊ณ ํด๋ณด์ธ์!',S,m,gt="์ฌ๊ธฐ์ ๋ค๋ฃฐ ์์๋ค์ ๋ค์์ ์งํฅํฉ๋๋ค.",W,p,ut='<li><strong>์์ฌ์ด ๋ํ๋์ ์ค์น</strong> (Self-contained) : ์ฌ๊ธฐ์ ์ฌ์ฉ๋ ์์ ์ฝ๋๋ค์ ๋ํ๋์ ํจํค์ง๋ค์ ์ ๋ถ <code>pip install</code> ๋ช ๋ น์ด๋ฅผ ํตํด ์ค์น ๊ฐ๋ฅํ ํจํค์ง๋ค์ ๋๋ค. ๋ํ ์น์ ํ๊ฒ <code>requirements.txt</code> ํ์ผ์ ํด๋น ํจํค์ง๋ค์ด ๋ช ์๋์ด ์์ด, <code>pip install -r requirements.txt</code>๋ก ๊ฐํธํ๊ฒ ํด๋น ๋ํ๋์๋ค์ ์ค์นํ ์ ์์ต๋๋ค. ์์: <a href="https://github.com/huggingface/diffusers/blob/main/examples/unconditional_image_generation/train_unconditional.py" rel="nofollow">train_unconditional.py</a>, <a href="https://github.com/huggingface/diffusers/blob/main/examples/unconditional_image_generation/requirements.txt" rel="nofollow">requirements.txt</a></li> <li><strong>์์ฌ์ด ์์ </strong> (Easy-to-tweak) : ์ ํฌ๋ ๊ฐ๋ฅํ๋ฉด ๋ง์ ์ ์ฆ ์ผ์ด์ค๋ค์ ์ ๊ณตํ๊ณ ์ ํฉ๋๋ค. ํ์ง๋ง ์์๋ ๊ฒฐ๊ตญ ๊ทธ์ ์์๋ผ๋ ์ ๋ค ๊ธฐ์ตํด์ฃผ์ธ์. ์ฌ๊ธฐ์ ์ ๊ณต๋๋ ์์์ฝ๋๋ค์ ๊ทธ์ ๋จ์ํ ๋ณต์ฌ-๋ถํ๋ฃ๊ธฐํ๋ ์์ผ๋ก๋ ์ฌ๋ฌ๋ถ์ด ๋ง์ฃผํ ๋ฌธ์ ๋ค์ ์์ฝ๊ฒ ํด๊ฒฐํ ์ ์์ ๊ฒ์ ๋๋ค. ๋ค์ ๋งํด ์ด๋ ์ ๋๋ ์ฌ๋ฌ๋ถ์ ์ํฉ๊ณผ ๋์ฆ์ ๋ง์ถฐ ์ฝ๋๋ฅผ ์ผ์ ๋ถ๋ถ ๊ณ ์ณ๋๊ฐ์ผ ํ ๊ฒ์ ๋๋ค. ๋ฐ๋ผ์ ๋๋ถ๋ถ์ ํ์ต ์์๋ค์ ๋ฐ์ดํฐ์ ์ ์ฒ๋ฆฌ ๊ณผ์ ๊ณผ ํ์ต ๊ณผ์ ์ ๋ํ ์ฝ๋๋ค์ ํจ๊ป ์ ๊ณตํจ์ผ๋ก์จ, ์ฌ์ฉ์๊ฐ ๋์ฆ์ ๋ง๊ฒ ์์ฌ์ด ์์ ํ ์ ์๋๋ก ๋๊ณ ์์ต๋๋ค.</li> <li><strong>์ ๋ฌธ์ ์นํ์ ์ธ</strong> (Beginner-friendly) : ์ด๋ฒ ์ฑํฐ๋ diffusion ๋ชจ๋ธ๊ณผ <code>diffusers</code> ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ํ ์ ๋ฐ์ ์ธ ์ดํด๋ฅผ ๋๊ธฐ ์ํด ์์ฑ๋์์ต๋๋ค. ๋ฐ๋ผ์ diffusion ๋ชจ๋ธ์ ๋ํ ์ต์ SOTA (state-of-the-art) ๋ฐฉ๋ฒ๋ก ๋ค ๊ฐ์ด๋ฐ์๋, ์ ๋ฌธ์์๊ฒ๋ ๋ง์ด ์ด๋ ค์ธ ์ ์๋ค๊ณ ํ๋จ๋๋ฉด, ํด๋น ๋ฐฉ๋ฒ๋ก ๋ค์ ์ฌ๊ธฐ์ ๋ค๋ฃจ์ง ์์ผ๋ ค๊ณ ํฉ๋๋ค.</li> <li><strong>ํ๋์ ํ์คํฌ๋ง ํฌํจํ ๊ฒ</strong>(One-purpose-only): ์ฌ๊ธฐ์ ๋ค๋ฃฐ ์์๋ค์ ํ๋์ ํ์คํฌ๋ง ํฌํจํ๊ณ ์์ด์ผ ํฉ๋๋ค. ๋ฌผ๋ก ์ด๋ฏธ์ง ์ดํด์ํ(super-resolution)์ ์ด๋ฏธ์ง ๋ณด์ (modification)๊ณผ ๊ฐ์ ์ ์ฌํ ๋ชจ๋ธ๋ง ํ๋ก์ธ์ค๋ฅผ ๊ฐ๋ ํ์คํฌ๋ค์ด ์กด์ฌํ๊ฒ ์ง๋ง, ํ๋์ ์์ ์ ํ๋์ ํ์คํฌ๋ง์ ๋ด๋ ๊ฒ์ด ๋ ์ดํดํ๊ธฐ ์ฉ์ดํ๋ค๊ณ ํ๋จํ๊ธฐ ๋๋ฌธ์ ๋๋ค.</li>',B,c,mt='์ ํฌ๋ diffusion ๋ชจ๋ธ์ ๋ํ์ ์ธ ํ์คํฌ๋ค์ ๋ค๋ฃจ๋ ๊ณต์ ์์ ๋ฅผ ์ ๊ณตํ๊ณ ์์ต๋๋ค. <em>๊ณต์</em> ์์ ๋ ํ์ฌ ์งํํ์ผ๋ก <code>diffusers</code> ๊ด๋ฆฌ์๋ค(maintainers)์ ์ํด ๊ด๋ฆฌ๋๊ณ ์์ต๋๋ค. ๋ํ ์ ํฌ๋ ์์ ์ ์ํ ์ ํฌ์ ์ฒ ํ์ ์๊ฒฉํ๊ฒ ๋ฐ๋ฅด๊ณ ์ ๋ ธ๋ ฅํ๊ณ ์์ต๋๋ค. ํน์ ์ฌ๋ฌ๋ถ๊ป์ ์ด๋ฌํ ์์๊ฐ ๋ฐ๋์ ํ์ํ๋ค๊ณ ์๊ฐ๋์ ๋ค๋ฉด, ์ธ์ ๋ ์ง <a href="https://github.com/huggingface/diffusers/issues/new?assignees=&labels=&template=feature_request.md&title=" rel="nofollow">Feature Request</a> ํน์ ์ง์ <a href="https://github.com/huggingface/diffusers/compare" rel="nofollow">Pull Request</a>๋ฅผ ์ฃผ์๊ธฐ ๋ฐ๋๋๋ค. ์ ํฌ๋ ์ธ์ ๋ ํ์์ ๋๋ค!',D,h,pt="ํ์ต ์์๋ค์ ๋ค์ํ ํ์คํฌ๋ค์ ๋ํด diffusion ๋ชจ๋ธ์ ์ฌ์ ํ์ต(pretrain)ํ๊ฑฐ๋ ํ์ธํ๋(fine-tuning)ํ๋ ๋ฒ์ ๋ณด์ฌ์ค๋๋ค. ํ์ฌ ๋ค์๊ณผ ๊ฐ์ ์์ ๋ค์ ์ง์ํ๊ณ ์์ต๋๋ค.",O,b,ct='<li><a href="./unconditional_training">Unconditional Training</a></li> <li><a href="./text2image">Text-to-Image Training</a></li> <li><a href="./text_inversion">Text Inversion</a></li> <li><a href="./dreambooth">Dreambooth</a></li>',F,x,ht='memory-efficient attention ์ฐ์ฐ์ ์ํํ๊ธฐ ์ํด, ๊ฐ๋ฅํ๋ฉด <a href="../optimization/xformers">xFormers</a>๋ฅผ ์ค์นํด์ฃผ์๊ธฐ ๋ฐ๋๋๋ค. ์ด๋ฅผ ํตํด ํ์ต ์๋๋ฅผ ๋๋ฆฌ๊ณ ๋ฉ๋ชจ๋ฆฌ์ ๋ํ ๋ถ๋ด์ ์ค์ผ ์ ์์ต๋๋ค.',N,_,bt='<thead><tr><th>Task</th> <th>๐ค Accelerate</th> <th align="center">๐ค Datasets</th> <th align="center">Colab</th></tr></thead> <tbody><tr><td><a href="./unconditional_training"><strong>Unconditional Image Generation</strong></a></td> <td>โ </td> <td align="center">โ </td> <td align="center"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/training_example.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a></td></tr> <tr><td><a href="./text2image"><strong>Text-to-Image fine-tuning</strong></a></td> <td>โ </td> <td align="center">โ </td> <td align="center"></td></tr> <tr><td><a href="./text_inversion"><strong>Textual Inversion</strong></a></td> <td>โ </td> <td align="center">-</td> <td align="center"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_textual_inversion_training.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a></td></tr> <tr><td><a href="./dreambooth"><strong>Dreambooth</strong></a></td> <td>โ </td> <td align="center">-</td> <td align="center"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/sd_dreambooth_training.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a></td></tr> <tr><td><a href="./lora"><strong>Training with LoRA</strong></a></td> <td>โ </td> <td align="center">-</td> <td align="center">-</td></tr> <tr><td><a href="./controlnet"><strong>ControlNet</strong></a></td> <td>โ </td> <td align="center">โ </td> <td align="center">-</td></tr> <tr><td><a href="./instructpix2pix"><strong>InstructPix2Pix</strong></a></td> <td>โ </td> <td align="center">โ </td> <td align="center">-</td></tr> <tr><td><a href="./custom_diffusion"><strong>Custom Diffusion</strong></a></td> <td>โ </td> <td align="center">โ </td> <td align="center">-</td></tr></tbody>',V,$,Q,v,xt="๊ณต์ ์์ ์ธ์๋ <strong>์ปค๋ฎค๋ํฐ ์์ </strong> ์ญ์ ์ ๊ณตํ๊ณ ์์ต๋๋ค. ํด๋น ์์ ๋ค์ ์ฐ๋ฆฌ์ ์ปค๋ฎค๋ํฐ์ ์ํด ๊ด๋ฆฌ๋ฉ๋๋ค. ์ปค๋ฎค๋ํฐ ์์ฉจ๋ ํ์ต ์์๋ ์ถ๋ก ํ์ดํ๋ผ์ธ์ผ๋ก ๊ตฌ์ฑ๋ ์ ์์ต๋๋ค. ์ด๋ฌํ ์ปค๋ฎค๋ํฐ ์์๋ค์ ๊ฒฝ์ฐ, ์์ ์ ์ํ๋ ์ฒ ํ๋ค์ ์ข ๋ ๊ด๋ํ๊ฒ ์ ์ฉํ๊ณ ์์ต๋๋ค. ๋ํ ์ด๋ฌํ ์ปค๋ฎค๋ํฐ ์์๋ค์ ๊ฒฝ์ฐ, ๋ชจ๋ ์ด์๋ค์ ๋ํ ์ ์ง๋ณด์๋ฅผ ๋ณด์ฅํ ์๋ ์์ต๋๋ค.",Y,T,_t='์ ์ฉํ๊ธด ํ์ง๋ง, ์์ง์ ๋์ค์ ์ด์ง ๋ชปํ๊ฑฐ๋ ์ ํฌ์ ์ฒ ํ์ ๋ถํฉํ์ง ์๋ ์์ ๋ค์ <a href="https://github.com/huggingface/diffusers/tree/main/examples/community" rel="nofollow">community examples</a> ํด๋์ ๋ด๊ธฐ๊ฒ ๋ฉ๋๋ค.',X,w,$t='<strong>Note</strong>: ์ปค๋ฎค๋ํฐ ์์ ๋ <code>diffusers</code>์ ๊ธฐ์ฌ(contribution)๋ฅผ ํฌ๋งํ๋ ๋ถ๋ค์๊ฒ <a href="https://github.com/huggingface/diffusers/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22" rel="nofollow">์์ฃผ ์ข์ ๊ธฐ์ฌ ์๋จ</a>์ด ๋ ์ ์์ต๋๋ค.',K,C,tt,L,vt="์ต์ ๋ฒ์ ์ ์์ ์ฝ๋๋ค์ ์ฑ๊ณต์ ์ธ ๊ตฌ๋์ ๋ณด์ฅํ๊ธฐ ์ํด์๋, ๋ฐ๋์ <strong>์์ค์ฝ๋๋ฅผ ํตํด <code>diffusers</code>๋ฅผ ์ค์นํด์ผ ํ๋ฉฐ,</strong> ํด๋น ์์ ์ฝ๋๋ค์ด ์๊ตฌํ๋ ๋ํ๋์๋ค ์ญ์ ์ค์นํด์ผ ํฉ๋๋ค. ์ด๋ฅผ ์ํด ์๋ก์ด ๊ฐ์ ํ๊ฒฝ์ ๊ตฌ์ถํ๊ณ ๋ค์์ ๋ช ๋ น์ด๋ฅผ ์คํํด์ผ ํฉ๋๋ค.",et,M,nt,y,Tt="๊ทธ ๋ค์ <code>cd</code> ๋ช ๋ น์ด๋ฅผ ํตํด ํด๋น ์์ ๋๋ ํ ๋ฆฌ์ ์ ๊ทผํด์ ๋ค์ ๋ช ๋ น์ด๋ฅผ ์คํํ๋ฉด ๋ฉ๋๋ค.",it,H,lt,P,st,j,at;return d=new rt({props:{title:"๐งจ Diffusers ํ์ต ์์",local:"-diffusers-ํ์ต-์์",headingTag:"h1"}}),$=new rt({props:{title:"์ปค๋ฎค๋ํฐ",local:"์ปค๋ฎค๋ํฐ",headingTag:"h2"}}),C=new rt({props:{title:"์ฃผ๋ชฉํ ์ฌํญ๋ค",local:"์ฃผ๋ชฉํ -์ฌํญ๋ค",headingTag:"h2"}}),M=new Lt({props:{code:"Z2l0JTIwY2xvbmUlMjBodHRwcyUzQSUyRiUyRmdpdGh1Yi5jb20lMkZodWdnaW5nZmFjZSUyRmRpZmZ1c2VycyUwQWNkJTIwZGlmZnVzZXJzJTBBcGlwJTIwaW5zdGFsbCUyMC4=",highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/huggingface/diffusers | |
| <span class="hljs-built_in">cd</span> diffusers | |
| pip install .`,wrap:!1}}),H=new Lt({props:{code:"cGlwJTIwaW5zdGFsbCUyMC1yJTIwcmVxdWlyZW1lbnRzLnR4dA==",highlighted:"pip install -r requirements.txt",wrap:!1}}),P=new qt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/ko/training/overview.md"}}),{c(){f=a("meta"),A=l(),Z=a("p"),E=l(),k(d.$$.fragment),G=l(),g=a("p"),g.innerHTML=ft,J=l(),u=a("p"),u.innerHTML=dt,S=l(),m=a("p"),m.textContent=gt,W=l(),p=a("ul"),p.innerHTML=ut,B=l(),c=a("p"),c.innerHTML=mt,D=l(),h=a("p"),h.textContent=pt,O=l(),b=a("ul"),b.innerHTML=ct,F=l(),x=a("p"),x.innerHTML=ht,N=l(),_=a("table"),_.innerHTML=bt,V=l(),k($.$$.fragment),Q=l(),v=a("p"),v.innerHTML=xt,Y=l(),T=a("p"),T.innerHTML=_t,X=l(),w=a("p"),w.innerHTML=$t,K=l(),k(C.$$.fragment),tt=l(),L=a("p"),L.innerHTML=vt,et=l(),k(M.$$.fragment),nt=l(),y=a("p"),y.innerHTML=Tt,it=l(),k(H.$$.fragment),lt=l(),k(P.$$.fragment),st=l(),j=a("p"),this.h()},l(t){const e=It("svelte-u9bgzb",document.head);f=r(e,"META",{name:!0,content:!0}),e.forEach(n),A=s(t),Z=r(t,"P",{}),wt(Z).forEach(n),E=s(t),I(d.$$.fragment,t),G=s(t),g=r(t,"P",{"data-svelte-h":!0}),o(g)!=="svelte-ghvjb4"&&(g.innerHTML=ft),J=s(t),u=r(t,"P",{"data-svelte-h":!0}),o(u)!=="svelte-y61l4q"&&(u.innerHTML=dt),S=s(t),m=r(t,"P",{"data-svelte-h":!0}),o(m)!=="svelte-1oj1it8"&&(m.textContent=gt),W=s(t),p=r(t,"UL",{"data-svelte-h":!0}),o(p)!=="svelte-1xzrwb5"&&(p.innerHTML=ut),B=s(t),c=r(t,"P",{"data-svelte-h":!0}),o(c)!=="svelte-1ipa2jt"&&(c.innerHTML=mt),D=s(t),h=r(t,"P",{"data-svelte-h":!0}),o(h)!=="svelte-17g36b2"&&(h.textContent=pt),O=s(t),b=r(t,"UL",{"data-svelte-h":!0}),o(b)!=="svelte-elov9z"&&(b.innerHTML=ct),F=s(t),x=r(t,"P",{"data-svelte-h":!0}),o(x)!=="svelte-w5df01"&&(x.innerHTML=ht),N=s(t),_=r(t,"TABLE",{"data-svelte-h":!0}),o(_)!=="svelte-dnxkud"&&(_.innerHTML=bt),V=s(t),I($.$$.fragment,t),Q=s(t),v=r(t,"P",{"data-svelte-h":!0}),o(v)!=="svelte-8tlpkz"&&(v.innerHTML=xt),Y=s(t),T=r(t,"P",{"data-svelte-h":!0}),o(T)!=="svelte-fovf62"&&(T.innerHTML=_t),X=s(t),w=r(t,"P",{"data-svelte-h":!0}),o(w)!=="svelte-x93w7o"&&(w.innerHTML=$t),K=s(t),I(C.$$.fragment,t),tt=s(t),L=r(t,"P",{"data-svelte-h":!0}),o(L)!=="svelte-1av4xl1"&&(L.innerHTML=vt),et=s(t),I(M.$$.fragment,t),nt=s(t),y=r(t,"P",{"data-svelte-h":!0}),o(y)!=="svelte-8w90gs"&&(y.innerHTML=Tt),it=s(t),I(H.$$.fragment,t),lt=s(t),I(P.$$.fragment,t),st=s(t),j=r(t,"P",{}),wt(j).forEach(n),this.h()},h(){Ct(f,"name","hf:doc:metadata"),Ct(f,"content",Rt)},m(t,e){Ut(document.head,f),i(t,A,e),i(t,Z,e),i(t,E,e),U(d,t,e),i(t,G,e),i(t,g,e),i(t,J,e),i(t,u,e),i(t,S,e),i(t,m,e),i(t,W,e),i(t,p,e),i(t,B,e),i(t,c,e),i(t,D,e),i(t,h,e),i(t,O,e),i(t,b,e),i(t,F,e),i(t,x,e),i(t,N,e),i(t,_,e),i(t,V,e),U($,t,e),i(t,Q,e),i(t,v,e),i(t,Y,e),i(t,T,e),i(t,X,e),i(t,w,e),i(t,K,e),U(C,t,e),i(t,tt,e),i(t,L,e),i(t,et,e),U(M,t,e),i(t,nt,e),i(t,y,e),i(t,it,e),U(H,t,e),i(t,lt,e),U(P,t,e),i(t,st,e),i(t,j,e),at=!0},p:yt,i(t){at||(q(d.$$.fragment,t),q($.$$.fragment,t),q(C.$$.fragment,t),q(M.$$.fragment,t),q(H.$$.fragment,t),q(P.$$.fragment,t),at=!0)},o(t){z(d.$$.fragment,t),z($.$$.fragment,t),z(C.$$.fragment,t),z(M.$$.fragment,t),z(H.$$.fragment,t),z(P.$$.fragment,t),at=!1},d(t){t&&(n(A),n(Z),n(E),n(G),n(g),n(J),n(u),n(S),n(m),n(W),n(p),n(B),n(c),n(D),n(h),n(O),n(b),n(F),n(x),n(N),n(_),n(V),n(Q),n(v),n(Y),n(T),n(X),n(w),n(K),n(tt),n(L),n(et),n(nt),n(y),n(it),n(lt),n(st),n(j)),n(f),R(d,t),R($,t),R(C,t),R(M,t),R(H,t),R(P,t)}}}const Rt='{"title":"๐งจ Diffusers ํ์ต ์์","local":"-diffusers-ํ์ต-์์","sections":[{"title":"์ปค๋ฎค๋ํฐ","local":"์ปค๋ฎค๋ํฐ","sections":[],"depth":2},{"title":"์ฃผ๋ชฉํ ์ฌํญ๋ค","local":"์ฃผ๋ชฉํ -์ฌํญ๋ค","sections":[],"depth":2}],"depth":1}';function Zt(ot){return Ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Jt extends Pt{constructor(f){super(),kt(this,f,Zt,zt,Mt,{})}}export{Jt as component}; | |
Xet Storage Details
- Size:
- 13 kB
- Xet hash:
- 64ca98d7edc0989c40dd13dd47bc45033cdcf497ab96a6f2d440016f8568ade0
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.