Problem With Deep Learning Toolbox

11 vues (au cours des 30 derniers jours)
Nitish
Nitish le 14 Juil 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 commentaires
Nitish
Nitish le 15 Juil 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 le 15 Juil 2024
Ah, sorry, getReport(MException.last) won't do - my bad. Try putting a breakpoint as I suggested previously.

Connectez-vous pour commenter.

Réponses (1)

Nitish
Nitish le 15 Juil 2024
Déplacé(e) : Walter Roberson le 15 Juil 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.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by