googlenet利用時のエラー:Undefined function or variable 'freezeWeights'.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
プログラミング初心者です。
https://jp.mathworks.com/help/deeplearning/examples/transfer-learning-using-googlenet.html
上のリンクをもとにgooglenetを使っているのですが、
layers(1:110) = freezeWeights(layers(1:110));
Undefined function or variable 'freezeWeights'. というエラーが出てしまうのでご存知の方、ご教示頂けますと幸いです。
0 commentaires
Réponse acceptée
Kenta
le 16 Fév 2019
edit(fullfile(matlabroot,'examples','nnet','main','freezeWeights.m'))
コマンドウィンドウでこれを入力すると、重みを凍結する関数が出てきます。それを同じディレクトリに保存した上で、
上のコードを打つと、正しく実行できると思うのですが、いかがでしょうか。
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur イメージを使用した深層学習 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!