事前学習済みモデル(​inceptionr​esnetv2)のコ​ードを実行する際のf​unctionがエラ​ーを起こすのはなぜ?

4 次查看(过去 30 天)
Akifumi Yoshida
Akifumi Yoshida 2022-7-7
ディープネットワークデザイナーでinceptionresnetv2モデルを呼び出し、これをライブエディターで開けるコードにした後、実行すると、以下のエラーが発生します。
Output argument "layer" (and possibly others) not assigned a value in the execution with
"reg_inceptionresnetv2_inputsize512_1>helperNnetInceptionresnetv2LayerScalingFactorLayer" function.
最下部にあるfuncitonがエラーの原因のように思いますが、この箇所はどのような手順を想定したものでしょうか?
function layer = helperNnetInceptionresnetv2LayerScalingFactorLayer(name,scale,inputNames,outputNames)
% スクリプトの実行前にこの関数を定義してください。
% この関数は、タイプ nnet.inceptionresnetv2.layer.ScalingFactorLayer の層を作成して返さなければなりません。
end
  1 个评论
Akifumi Yoshida
Akifumi Yoshida 2022-7-16
MATLABに用意してある事前学習済みネットワークの「inceptionresnetv2」はコード出力してそのまま実行することができないと理解するほかないのでしょうか?

请先登录,再进行评论。

回答(0 个)

类别

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

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!