error while running graph=layerGraph(net)
5 ビュー (過去 30 日間)
古いコメントを表示
graph = layerGraph(net);
Error using layerGraph
lgraph = layerGraph(net);
↑
Invalid argument at position 1. Input must be an array of layers, a SeriesNetwork, a DAGNetwork, or a dlnetwork.
2 件のコメント
Matt J
2023 年 5 月 14 日
So what's the question? Presumably your 'net' input is none of the the legal input types listed in the error message.
回答 (1 件)
Matt J
2023 年 5 月 14 日
Like I said, your 'net' is not one fo the types listed in the error message:
net = googlenet('Weights','none');
net =
LayerGraph with properties:
Layers: [144×1 nnet.cnn.layer.Layer]
Connections: [170×2 table]
InputNames: {'data'}
OutputNames: {'output'}
4 件のコメント
参考
カテゴリ
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!