deep-learning-with-pytorch / dlwpt-code

Code for the book Deep Learning with PyTorch by Eli Stevens, Luca Antiga, and Thomas Viehmann.
https://www.manning.com/books/deep-learning-with-pytorch
4.69k stars 1.98k forks source link

Next version enhancement #98

Open AlirezaSR opened 2 years ago

AlirezaSR commented 2 years ago

Hi everybody!! PyTorch project has introduced TorchVision’s New Multi-Weight Support API. In the new API the boolean "pretrained" and "pretrained_backbone" parameters, which were previously used to load weights to the full model or to its backbone, are deprecated.

https://pytorch.org/blog/introducing-torchvision-new-multi-weight-support-api/ Screenshot 2022-09-08 084735