update 06 and 07

This commit is contained in:
Daniel Bourke committed 2022-05-31 11:41:31 +10:00
1 parent 3334ab32ba
commit 020ea19652
2 files changed
+866 -2299

No files matched your search

+1
View File
@@ -546,6 +546,7 @@
"To do so, we'll pass in:\n",
" * `model` - the model we'd like to get a summary of.\n",
" * `input_size` - the shape of the data we'd like to pass to our model, for the case of `efficientnet_b0`, the input size is `(batch_size, 3, 224, 224)`, though [other variants of `efficientnet_bX` have different input sizes](https://github.com/pytorch/vision/blob/d2bfd639e46e1c5dc3c177f889dc7750c8d137c7/references/classification/train.py#L92-L93).\n",
" * **Note:** Many modern models can handle input images of varying sizes thanks to [`torch.nn.AdaptiveAvgPool2d()`](https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveAvgPool2d.html), this layer adaptively adjusts the `output_size` of a given input as required. You can try this out by passing different size input images to `summary()` or your models.\n",
" * `col_names` - the various information columns we'd like to see about our model. \n",
" * `col_width` - how wide the columns should be for the summary.\n",
" * `row_settings` - what features to show in a row."
File diff suppressed because it is too large. Load diff