Dot indexing is not supported for variables of this type. DAGNetwork.
Ältere Kommentare anzeigen
Hey all! I'm working on a project that I train deep learning models and test them. I have a trained couple models on a different PC and now I'm trying to test it with my laptop. Some of the models are able to test but some of them gives an error which is below:
Dot indexing is not supported for variables of this type.
Error in DAGNetwork/classify (line 148)
iAssertNetworkHasSingleOutput( this.PrivateNetwork.NumOutputs );
Any ideas?
5 Kommentare
Walter Roberson
am 15 Apr. 2023
The most common cause for that message is if the variable is [] (empty double precision array) instead of being a correct network.
Ferhat Kangal
am 15 Apr. 2023
Ferhat Kangal
am 15 Apr. 2023
Walter Roberson
am 16 Apr. 2023
If you save() an object of a class, and then you load() the object on a system that does not have a definition for that particular class, then load() will give an warning message that it could not find the class and that it loaded the data as uint8 instead.
... .but you would have seen a warning message in that case.
Martin Hahner
am 23 Sep. 2024
If somebody else lands here via Google, this is how I solved it:
Antworten (0)
Kategorien
Mehr zu Parallel and Cloud finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!