Borrar filtros
Borrar filtros

Unable to load DAGNetwork

31 visualizaciones (últimos 30 días)
Ash Ash
Ash Ash el 11 de Nov. de 2018
Comentada: UGUR KADIOGLU el 4 de Mayo de 2021
Hi everyone, I've tried importing a matfile of a DAGNetwork that was sent to me by my friend but I get this error, by dragging and dropping the matfile onto my workspace, but I get this error:
Warning: During load:
An invalid default object has been detected while loading a heterogeneous array of class nnet.cnn.layer.Layer. An empty array of class
nnet.cnn.layer.Layer will be returned.
Warning: While loading an object of class 'DAGNetwork':
Array indices must be positive integers or logical values.
He was able to load the DAGNetwork from his side, using R2018b and R2017b. I'm using R2018a and R2016b but I'm not able to load it.
I tried downloading googlenet and I'm able to get a DAGNetwork with all the layers and connections.
Could you please guide me on how to solve this problem?
Thank you.
  3 comentarios
Hanan Al-Najar
Hanan Al-Najar el 8 de Abr. de 2020
Editada: Hanan Al-Najar el 8 de Abr. de 2020
I got the same problem and I solved it by installing Computer Vision Toolbox
UGUR KADIOGLU
UGUR KADIOGLU el 4 de Mayo de 2021
Hi you should paste to workspace this code
net = googlenet;
and press enter and than
open deepnetworkdesiner import model.

Iniciar sesión para comentar.

Respuestas (1)

Eugene Alexander
Eugene Alexander el 5 de Jun. de 2019
I had a similar problem; in creating the network I changed the output layer from classification layer to a custom layer, weighted classification layer, built from a Matlab example. I could not correctly load the network/.mat file if the custom layer class file was not in my current directory. Maybe there is a custom layer in the network that your friend needs to send you. (I did not get a loading error, just an empty DAGNetwork).

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by