Text-to-Image
Diffusers
TensorBoard
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use Aminrabi/diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Aminrabi/diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Aminrabi/diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
File size: 1,117 Bytes
c0af20c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # μΈμ΄νμΌμλ 무μμΈκ°μ?
[μΈμ΄νν
μ](https://github.com/huggingface/safetensors)λ νΌν΄μ μ¬μ©νλ νμ΄ν μΉλ₯Ό μ¬μ©νλ κΈ°μ‘΄μ '.bin'κ³Όλ λ€λ₯Έ νμμ
λλ€.
νΌν΄μ μ
μμ μΈ νμΌμ΄ μμμ μ½λλ₯Ό μ€νν μ μλ μμ νμ§ μμ κ²μΌλ‘ μ
λͺ
μ΄ λμ΅λλ€.
νλΈ μ체μμ λ¬Έμ λ₯Ό λ°©μ§νκΈ° μν΄ λ
Έλ ₯νκ³ μμ§λ§ λ§λ³ν΅μΉμ½μ μλλλ€.
μΈμ΄νν
μμ κ°μ₯ μ€μν λͺ©νλ μ»΄ν¨ν°λ₯Ό νμ·¨ν μ μλ€λ μλ―Έμμ λ¨Έμ λ¬λ λͺ¨λΈ λ‘λ©μ *μμ νκ²* λ§λλ κ²μ
λλ€.
# μ μΈμ΄νμΌμλ₯Ό μ¬μ©νλμ?
**μ μλ €μ§μ§ μμ λͺ¨λΈμ μ¬μ©νλ €λ κ²½μ°, κ·Έλ¦¬κ³ νμΌμ μΆμ²κ° νμ€νμ§ μμ κ²½μ° "μμ μ±"μ΄ νλμ μ΄μ κ° λ μ μμ΅λλ€.
κ·Έλ¦¬κ³ λ λ²μ§Έ μ΄μ λ **λ‘λ© μλ**μ
λλ€. μΈμ΄νμΌμλ μΌλ° νΌν΄ νμΌλ³΄λ€ ν¨μ¬ λΉ λ₯΄κ² λͺ¨λΈμ ν¨μ¬ λΉ λ₯΄κ² λ‘λν μ μμ΅λλ€. λͺ¨λΈμ μ ννλ λ° λ§μ μκ°μ μλΉνλ κ²½μ°, μ΄λ μμ²λ μκ° μ μ½μ΄ κ°λ₯ν©λλ€. |