How to update weight of pre-trained network (Resnet50) using deep network designer

2 次查看(过去 30 天)
hi, i notice that when importing pretrained network using deep network designer the weights of the convolution2dLayer is fixed. Is there any ways for me to update the weight instead of replacing the whole new convolution2dLayer?
The pre-trained network convolution2dLayer
The new convolution2dLayer
Hope someone could enlighten me on this because i try to add another layer on top the original convolutional layer.

采纳的回答

David Willingham
David Willingham 2021-7-22
Hi,
Deep Network Designer has no capability of editing Weights directly, this is normally done during the training process.
However it would be great to try and capture your use case, to see if we should consider adding this capability.
Can you elaborate why you'd like to manually replace one layer, and then edit the weights of the network?
Regards,
David
  5 个评论
Tahir Abbas khan
Tahir Abbas khan 2022-4-27
same issue with me,
Dear, i have use the pretrained model for classification purposes (5 classes),but the accuracy of 3 classes are accurately predicted, but two classes have lower accuracy, when i tried to explore the results of these 2 classes in an other pretrained model,shows better results.. ultimately we need to combined the weights of these two pretrained models or updates the weights of 1st pretrained model of concerned two classes only...hope so, results may improve the overall accuracy by do this....
Thanks & Regards
tahir.abbas@kics.edu.pk

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by