mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
update 06 and 07
This commit is contained in:
1 parent
3334ab32ba
commit
020ea19652
2 files changed
+866
-2299
No files matched your search
@@ -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."
|
||||
|
||||
+865
-2299
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user