CodoRaven
  • AI
  • Web Development
  • Tutorials
    • OpenCV vs Pillow
    • PyTorch

Blog

Drawing Anime Face with Simple Segmentation Mask

Drawing Anime Face with Simple Segmentation Mask

Originally posted on My Medium. Demo This is a short demo. The full video is down below at the bottom of the article. Objective The objective of this project is to build a deep-learning model to generate Anime face portraits from segmentation masks. In this project, I will first manually annotate a small set of […]

12 February, 2023
AI
AIDeep LearningGANGenerative ModelMachine LearningNeural NetworksPersonal Project
How Does Normalization Layer Affect Image Styles? What is AdaIN?

How Does Normalization Layer Affect Image Styles? What is AdaIN?

Originally posted on My Medium. In Style Transfer and some generative networks, special normalization layers such as CIN, and AdaIN are used to control the style of the output image. But how and why does a normalization layer affect image style? It is crucial to understand the rationale behind them in order to know why […]

12 February, 2023
AI
AIDeep LearningGenerative ModelMachine LearningNeural Networks
Anime Illustration Colorization Part 2

Anime Illustration Colorization Part 2

Originally posted on My Medium. Introduction This is an update on my previous article Anime Illustration Colorization Part 1. If you have not read that, I recommend you to read it first and then come back. After posting the previous article, I have done a few things to try to improve the performance of the model. […]

11 February, 2023
AI
AIDeep LearningGANGenerative ModelMachine LearningNeural NetworksPersonal Project
Anime Illustration Colorization Part 1

Anime Illustration Colorization Part 1

Originally posted on My Medium. Introduction This project aims to create a deep learning model to learn a mapping from a non-colored anime illustration (sketch) to a colored version. We will use the Pix2Pix GAN to achieve this. 1. Dataset First of all, we need a dataset, a dataset that contains a set of non-colored […]

11 February, 2023
AI
AIDeep LearningGANGenerative ModelMachine LearningNeural NetworksPersonal Project

Recent Posts

  • Featured image for PyTorch Tutorial 2026, part 14 of 14 (Expert): a large number 14, the title "Logit-Normal, EMA and Few-Step Flow", and a 3 by 3 grid of real 32 by 32 images generated by the post 14 model.
    Train and Sample Like 2026: Logit-Normal Steps, EMA, and Few-Step FlowNovember 12, 2026
  • Featured image for PyTorch Tutorial 2026, part 13 of 14 (Expert): a large number 13, the title "MMDiT Joint Attention", and text tokens and image patches feeding one joint attention map.
    MMDiT Joint Attention in PyTorch: Two Streams, One GeneratorNovember 12, 2026
  • Featured image for PyTorch Tutorial 2026, part 12 of 14 (Expert): a large number 12, the title "adaLN-Zero and Classifier-Free Guidance", and guidance vectors: an unconditional arrow, a conditional arrow and a dashed arrow pushed further along their difference.
    adaLN-Zero and Classifier-Free Guidance in PyTorchNovember 12, 2026
  • Featured image for PyTorch Tutorial 2026, part 11 of 14 (Expert): a large number 11, the title "RMSNorm, QK-Norm, SwiGLU, 2D RoPE", and a 3 by 3 grid of circles, each with a vector rotated by its row and column.
    RMSNorm, QK-Norm, SwiGLU, and 2D RoPE in a Tiny DiTNovember 12, 2026
  • Featured image for PyTorch Tutorial 2026, part 10 of 14 (Tiny diffusion): a large number 10, the title "torch.compile, AMP and SDPA", and three small operation boxes fused into one box with a lightning bolt.
    torch.compile, Mixed Precision, and SDPA: Speed Up TinyDiTNovember 12, 2026

CodoRaven

Learn Coding, AI and Web Development

© CodoRaven 2026
Blog
  • AI
  • Web Development
Tutorials
  • OpenCV vs Pillow
Useful Links
  • Contact
  • About