kaist_cs492d_fall_2024_assignment_1
kaist_cs492d_fall_2024_assignment_1
Applications
Assignment 1 Session
SEUNGWOO YOO
Fall 2024
KAIST
• Late submission will incur 20% penalty for each late day!
'
• Training Objective: 𝝐 − 𝝐𝜽 (𝒙! , 𝑡)
• Noisy data 𝒙! ;
2d_plot_diffusion_todo/network.py
• q_sample;
• p_sample;
• p_sample_loop;
• compute_loss.
2d_plot_diffusion_todo/ddpm.py
2d_plot_diffusion_todo/ddpm_tutorial.ipynb
• q_sample;
• p_sample;
• p_sample_loop;
• compute_loss.
2d_plot_diffusion_todo/ddpm.py
• q_sample;
• p_sample;
• p_sample_loop;
• compute_loss.
2d_plot_diffusion_todo/ddpm.py
• q_sample;
• p_sample;
• p_sample_loop;
• compute_loss.
2d_plot_diffusion_todo/ddpm.py
The code needs to be modified, but the changes should be kept minimal.
• q_sample à add_noise;
• p_sample à step;
• compute_loss à get_loss.
2d_plot_diffusion_todo/ddpm.py image_diffusion_todo/scheduler.py
2d_plot_diffusion_todo/ddpm.py image_diffusion_todo/scheduler.py
2d_plot_diffusion_todo/ddpm.py image_diffusion_todo/scheduler.py
python train.py
python sampling.py \
python sampling.py \
Do NOT forget to run this. Otherwise, you will get incorrect FIDs!
😱 FID scores across different test sets using the same generated samples.
🤩
CS492(D): Diffusion Models and Their Applications (Fall 2024) 24
What to Submit
Compile the following items into a PDF file: {NAME}_{ID}.pdf.
Task 1
• A screenshot of the loss curve;
• A screenshot of the Chamfer Distance;
• A visualization of samples generated using your DDPM.
Task 2
• A screenshot of the computed FID;
• At least 8 images generated using your DDPM.
• Your code without checkpoints for DDPMs and the Inception Network
Task 1
• 0 point: Otherwise.
Task 2
• 0 point: Otherwise.