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

ディープネットワークデザイナーで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 Comment

MATLABに用意してある事前学習済みネットワークの「inceptionresnetv2」はコード出力してそのまま実行することができないと理解するほかないのでしょうか?

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 7 Jul 2022

Commented:

on 16 Jul 2022

Community Treasure Hunt

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

Start Hunting!