googlenet利​用時のエラー:Und​efined function or variable 'freezeWeights'.

3 次查看(过去 30 天)
プログラミング初心者です。
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'. というエラーが出てしまうのでご存知の方、ご教示頂けますと幸いです。

采纳的回答

Kenta
Kenta 2019-2-16
edit(fullfile(matlabroot,'examples','nnet','main','freezeWeights.m'))
コマンドウィンドウでこれを入力すると、重みを凍結する関数が出てきます。それを同じディレクトリに保存した上で、
上のコードを打つと、正しく実行できると思うのですが、いかがでしょうか。
  1 个评论
ssk
ssk 2019-2-16
頂いた方法を試したところ解決できました。
本当にありがとうございました!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 イメージを使用した深層学習 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!