Problem With Deep Learning Toolbox

11 Ansichten (letzte 30 Tage)
Nitish
Nitish am 14 Jul. 2024
Verschoben: Walter Roberson am 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 Kommentare
Nitish
Nitish am 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 am 15 Jul. 2024
Ah, sorry, getReport(MException.last) won't do - my bad. Try putting a breakpoint as I suggested previously.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Nitish
Nitish am 15 Jul. 2024
Verschoben: Walter Roberson am 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.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by