Problem With Deep Learning Toolbox

12 次查看(过去 30 天)
Nitish
Nitish 2024-7-14
移动Walter Roberson 2024-7-15
Im trying to open the Deep Learning Toolbox. The following error is returned:
Error using deepNetworkDesigner (line 29)
Invalid default value for property 'Network' in class 'deepapp.internal.editor.import.NoArgsCallStrategy':
Undefined function 'mtimes' for input arguments of type 'nnet.cnn.layer.Layer'.
Similarly while calling a pretianed network in a code, following error is returned:
lgraphGoogLeNet = layerGraph(googlenet);
Warning: While loading an object of class 'DAGNetwork':
Too many input arguments.
Dot indexing is not supported for variables of this type.
Error in DAGNetwork/get.LayerGraph (line 188)
val = this.PrivateNetwork.LayerGraph;
Error in DAGNetwork/getLayerGraph (line 230)
layerGraph = this.LayerGraph;
Error in DAGNetwork/layerGraph (line 12)
internalLayerGraph = this.getLayerGraph();
  8 个评论
Nitish
Nitish 2024-7-15
The output for which -all layerGraph is
>> which -all layerGraph
C:\Program Files\MATLAB\R2024a\toolbox\nnet\cnn\layerGraph.m
C:\Program Files\MATLAB\R2024a\toolbox\nnet\cnn\@DAGNetwork\layerGraph.m % DAGNetwork method
and the output for getReport()
getReport(MException.last)
ans =
'Operator '*' is not supported for operands of type 'nnet.cnn.layer.Layer'.
Error in layerGraph (line 46)
throw(me)'
Thank you for your replies.
Peter Man
Peter Man 2024-7-15
Ah, sorry, getReport(MException.last) won't do - my bad. Try putting a breakpoint as I suggested previously.

请先登录,再进行评论。

回答(1 个)

Nitish
Nitish 2024-7-15
移动:Walter Roberson 2024-7-15
@Peter Man Thanks a lot Sir.
I have been able to fix it, there as a function height.m in the current working directory. I renamed it.
Thanks a lot.

类别

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

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by