プリンキピア

第8章現代の畳み込みニューラルネットワーク

8.8.4. Training8.8.4 訓練

Training the 32-layer RegNetX on the Fashion-MNIST dataset is just like before.
英語のヒント
32層のRegNetXをFashion-MNISTのデータセットで訓練するのは、前とまったく同じである。
model = RegNetX32(lr=0.05)
trainer = d2l.Trainer(max_epochs=10, num_gpus=1)
data = d2l.FashionMNIST(batch_size=128, resize=(96, 96))
trainer.fit(model, data)