attempt to execute script as a function

2 ビュー (過去 30 日間)
kamarthi vanitha
kamarthi vanitha 2019 年 3 月 19 日
回答済み: Jan 2019 年 3 月 19 日
Attempt to execute SCRIPT vl_nnconv as a function:
Error in vl_simplenn (line 300)
res(i+1).x = vl_nnconv(res(i).x, l.weights{1}, l.weights{2}, ...
Error in fusion_method_multi_layers (line 41)
res_a = vl_simplenn(net, saliency_a);

回答 (1 件)

Jan
Jan 2019 年 3 月 19 日
Either vl_nnconv is really a script. Test this:
which vl_nnconv -all
Or the current folder is the parent folder of the help text of vl_nnconv. Do not use the folders of Matlab's toolboxes as working folder. Call e.g. cd(tempdir) to move to a neutral location.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by