0Pricing
Deep Learning Academy · บทเรียน

ตารางการสุ่มตัวอย่างและการชี้นำ

ชี้นำการสร้างให้สอดคล้องกับพรอมป์ต์

ตารางการสุ่มตัวอย่างและการชี้นำ เป็นบทเรียน Deep Learning Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Deep Learning Academy และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Deep Learning Academy มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

Sampling Is the Payoff

Training gives you a denoiser. Sampling is where you cash it in, running the reverse steps to turn noise into a finished image.

Steps Cost Time

Each reverse step calls the U-Net once. More steps usually means crisper results but a slower generation. ⏳

The DDPM Sampler

The original DDPM sampler is faithful but slow, often needing hundreds or even a thousand tiny denoising steps.

Faster with DDIM

DDIM skips many steps while keeping quality high, so you can sample in twenty or fifty steps instead of a thousand.

Choosing a Schedule

A sampling schedule decides which timesteps you actually visit. Fewer, well-chosen steps trade a little detail for big speed.

scheduler.set_timesteps(num_inference_steps=30)

Plain Generation Wanders

Left alone, the model produces a valid image but you cannot steer it. You get something plausible, not necessarily what you asked for.

Conditioning on a Prompt

To get control, you condition the U-Net on a prompt, often a text embedding, so it aims toward your description.

Classifier-Free Guidance

Classifier-free guidance runs the model twice, with and without the prompt, then pushes the result toward the prompted version.

The Guidance Scale

A guidance scale sets how hard to push. Higher values follow the prompt more closely but can hurt realism if overdone.

image = pipe(prompt, guidance_scale=7.5)

Finding the Sweet Spot

Too low and the image ignores you; too high and it looks harsh. A scale around seven is a common sweet spot to start from.

Two Knobs, Big Impact

Steps control speed and detail; guidance controls how closely you obey the prompt. Tuning both is how you dial in your output. 🎛️

Quick Check

What does raising the guidance scale do?

Recap

Schedules like DDIM cut steps for speed, and guidance steers toward your prompt. Tune steps and guidance scale to balance quality and control. 🎉

คำถามที่พบบ่อย

บทเรียน “ตารางการสุ่มตัวอย่างและการชี้นำ” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “ตารางการสุ่มตัวอย่างและการชี้นำ” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Deep Learning Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Deep Learning Academy มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “ตารางการสุ่มตัวอย่างและการชี้นำ”

ชี้นำการสร้างให้สอดคล้องกับพรอมป์ต์ คุณปฏิบัติ Deep Learning Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Deep Learning Academy หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Deep Learning Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 3 จากทั้งหมด 4 บทเรียน

บทเรียน “ตารางการสุ่มตัวอย่างและการชี้นำ” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Deep Learning Academy นี้ได้ไหม

ได้ บทเรียน Deep Learning Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. การเติมสัญญาณรบกวนไปข้างหน้าและการลดสัญญาณรบกวนย้อนกลับ
  2. ทำนายสัญญาณรบกวนด้วย U-Net
  3. ตารางการสุ่มตัวอย่างและการชี้นำ
  4. เรียกใช้ไปป์ไลน์ด้วย Diffusers
← กลับไปที่ Deep Learning Academy