事前学習済みモデル(inceptionresnetv2)のコードを実行する際のfunctionがエラーを起こすのはなぜ?
4 次查看(过去 30 天)
显示 更早的评论
ディープネットワークデザイナーで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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!