Prediga el ruido con una U-Net
El eliminador de ruido en el núcleo de la difusión
Prediga el ruido con una U-Net es una lección gratuita de Deep Learning Academy en CoddyKit. Esta es la lección 2 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de Deep Learning Academy, y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de Deep Learning Academy incluye 4 lecciones en total.
Partes de esta lección aún no han sido traducidas y se muestran en inglés.
The Denoiser's Job
At every reverse step a single network does the heavy lifting. Its job is simple to state: look at a noisy image and predict the noise inside it.
Why a U-Net
Diffusion almost always uses a U-Net, because its output is the same size as its input: a noisy image in, a noise map out.
The Shrinking Path
The encoder downsamples the image, capturing big-picture structure like shapes and layout at a small resolution.
The Growing Path
The decoder then upsamples back to full size, rebuilding fine detail so the predicted noise lines up pixel for pixel.
Skip Connections
The U shape comes from skip connections that pass detail from encoder to decoder, so sharp edges survive the squeeze.
Feeding the Timestep
The U-Net also needs the timestep t, so it knows whether to remove a lot of noise or just a little at this stage.
Time Embeddings
That timestep is turned into a vector called a time embedding and mixed into the network's layers as a conditioning signal.
t_emb = embed(timestep) # added inside each blockAttention in the Middle
Many U-Nets add attention at the lowest resolution, letting distant regions of the image coordinate their content.
One Loss, One Target
Training compares the predicted noise to the real noise with simple MSE loss. That single objective is all it takes.
loss = mse(unet(x_t, t), true_noise)Same Net, Every Step
One U-Net handles all timesteps. The t input is what tells it how aggressively to denoise right now.
Subtract and Repeat
Predict noise, subtract a slice of it, feed the result back in. Repeating this is how the U-Net walks toward a clean image. 🖼️
Quick Check
What role do the U-Net's skip connections play?
Recap
A U-Net predicts noise at every step, using skip connections for detail and a time embedding to gauge the timestep. One MSE loss trains it all. 🎉
Preguntas frecuentes
¿La lección «Prediga el ruido con una U-Net» es gratis?
Sí — el texto completo de «Prediga el ruido con una U-Net» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de Deep Learning Academy, actualiza a CoddyKit PRO. El curso de Deep Learning Academy incluye 4 lecciones en total.
¿Qué aprenderé en «Prediga el ruido con una U-Net»?
El eliminador de ruido en el núcleo de la difusión Practicas Deep Learning Academy con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.
¿Necesito experiencia previa para empezar Deep Learning Academy?
No se requiere experiencia previa. Deep Learning Academy en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 2 de 4.
¿Cuánto tiempo toma la lección «Prediga el ruido con una U-Net»?
La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.
¿Puedo escribir y ejecutar código en esta lección de Deep Learning Academy?
Sí. Cada lección de Deep Learning Academy incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.
Todas las lecciones de este curso
- Adición de ruido hacia delante y eliminación inversa
- Prediga el ruido con una U-Net
- Programaciones de muestreo y guidance
- Ejecute un pipeline con Diffusers