diff --git a/Notebooks/Chap09/9_5_Augmentation.ipynb b/Notebooks/Chap09/9_5_Augmentation.ipynb index 66819ed..bd0c607 100644 --- a/Notebooks/Chap09/9_5_Augmentation.ipynb +++ b/Notebooks/Chap09/9_5_Augmentation.ipynb @@ -107,10 +107,7 @@ " # Initialize the parameters with He initialization\n", " if isinstance(layer_in, nn.Linear):\n", " nn.init.kaiming_uniform_(layer_in.weight)\n", - " layer_in.bias.data.fill_(0.0)\n", - "\n", - "# Call the function you just defined\n", - "model.apply(weights_init)" + " layer_in.bias.data.fill_(0.0)\n" ], "metadata": { "id": "JfIFWFIL33eF"