"""CCAiM — cloud classification (WMO International Cloud Atlas, 10 classes)"""
import torch.nn as nn
class CCAiMModel(nn.Module):
"""compact CNN trained from scratch — the project baseline line"""
def __init__(self, num_classes: int = 10, width_mult: int = 1):
super().__init__()
base_channels = [64, 128, 256, 512, 512] # 9,907,530 params
self.stem = ConvBlock(3, base_channels[0])
self.classifier = nn.Linear(1024, num_classes)
self._init_weights() # kaiming_normal_ (fan_out)