In some cases, you might not want to use the default weights coming with the model when you use a pre-trained model. Or, you can create your own model but you want to use the same weights with some other model. In this article, we will explain how to update a model's weight in PyTorch.

Photo by Jesper Aggergaard on Unsplash
Photo by Jesper Aggergaard on Unsplash
Photo by Jesper Aggergaard on Unsplash

Let’s explain it over the “Squeezenet1_0” model. Squeezenet is a DNN model which gives decent results with much fewer parameters comparing to the other high-performing DNNs and it is very small in size. …

Melih Zenciroglu

Data science and Deep Learning enthusiast with Computer Vision interest

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store