resnet50の出力層の除去
Afficher commentaires plus anciens
matlab初心者です。
●コード
lgraph = layerGraph(app.classifier.netTransfer.Layers);
newlgraph = removeLayers(lgraph,{lgraph.Layers(end).Name});
App Dsignerにおいて学習済みresnet50の出力層だけ取り除いてgradcamを使用したいのですが、上記のようにするとエラーが起こります。analyzeNetworkでnewlgraphの層グラフを見てみるとDAGが無くなって1本のネットワークになってしまっているようです。どうしたら良いでしょうか。ご教授いただきたいです。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!