Skip to content

Latest commit

 

History

History
 
 

README.md

W4 — CNN 基礎 + 基本 transforms

CIFAR-10 CNN を構成する全部品。Conv → Pool → GAP の forward + 基本 data augmentation (Normalize / HFlip / RandomCrop) のセット。

7 problems. Solve each template in place, then run the last cell check("...") to grade. Stuck? Open the linked solution in the rightmost column.

Study order

Order # Problem Difficulty Solution Colab
1 22 22_conv2d.ipynb — 2D Convolution Medium Open In Colab
2 41 41_maxpool2d.ipynb — 2D Max Pooling Medium Open In Colab
3 49 49_avg_pool2d.ipynb — 2D Average Pooling Easy Open In Colab
4 50 50_global_avg_pool.ipynb — Global Average Pooling Easy Open In Colab
5 42 42_normalize.ipynb — Per-Channel Normalize Easy Open In Colab
6 43 43_random_hflip.ipynb — Random Horizontal Flip Easy Open In Colab
7 44 44_random_crop.ipynb — Random Crop with Padding Easy Open In Colab

How to use

# from the repo root
make run                # or `docker compose up`
# then in JupyterLab, navigate to practice/W4/ and open a notebook

If you accidentally break a template, delete it and rerun python scripts/build_weeks.py to restore — it only copies missing files, so your other in-progress notebooks are preserved.