Problem With Deep Learning Toolbox

13 views (last 30 days)
Nitish
Nitish on 14 Jul 2024
Moved: Walter Roberson on 15 Jul 2024
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 Comments
Nitish
Nitish on 15 Jul 2024
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 on 15 Jul 2024
Ah, sorry, getReport(MException.last) won't do - my bad. Try putting a breakpoint as I suggested previously.

Sign in to comment.

Answers (1)

Nitish
Nitish on 15 Jul 2024
Moved: Walter Roberson on 15 Jul 2024
@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.

Categories

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

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!