Group Layers in Deep Network Designer

1 visualización (últimos 30 días)
Matti Kaupenjohann
Matti Kaupenjohann el 16 de Jun. de 2021
Comentada: Matti Kaupenjohann el 25 de Jun. de 2021
I am playing a bit around with the Deep Network Designer and struggle with huge architectures like YOLOV5FACE. The biggest constraint is the C3 Layer which includes itself 27 Layer. Even if I export parts of the network and import them back from WS the result is a constant growing structure with little to none overview. Maybe I am a bit spoiled from the subsystem function from simulink but in my opinion the Deep Network Designer lags this function or I am not able to find it. I only see at the moment to create a custom layer for each subsitute network structura as a solution.

Respuesta aceptada

Philip Brown
Philip Brown el 21 de Jun. de 2021
It's not currently possible to view nested "subsystem"-like blocks in Deep Network Designer. We're aware this would be a useful feature to support, especially for larger and more complex network architectures.
As you mentioned, at the command line you could make a custom layer containing the network, like in this example.
  2 comentarios
Matti Kaupenjohann
Matti Kaupenjohann el 21 de Jun. de 2021
This example really helps, didn't came up with name nested, so I had problems with using the predict method. I was thinking, I need to use the predict method of the inner layer, which I realized is not really reachable.
Matti Kaupenjohann
Matti Kaupenjohann el 25 de Jun. de 2021
I worked through the example and created a custom CBS block and recognized some weird behaviour on the dlnetwork function. The function returns:
Error using dlnetwork
Too many input arguments.
Error in CBSLayer (line 62)
dlnet = dlnetwork(lgraph,'Initialize',false);
So I debugged the class and used the function without the 'Initialize' and got back:
Error using dlnetwork (line 111)
Invalid network.
Caused by:
Network: Missing input layer. The network must have at least one input layer.
Layer 'conv1': Unconnected input. Each layer input must be connected to the output of another layer.
So I copy&paste the complete example and the example is not happy about the missing Normalization class:
Unrecognized function or variable 'groupNormalizationLayer'.
Error in residualBlockLayer (line 59)
groupNormalizationLayer('all-channels','Name','gn1')
Is the Example up-to-date?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by