Multiple outputs in a deep sequential model

1 visualización (últimos 30 días)
Nathan Parrish
Nathan Parrish el 1 de Mayo de 2020
Comentada: Giorgio Grioli el 26 de Nov. de 2020
I would like to train a sequence model that predicts multiple binary outputs at each step of the sequence. However, when I try to design such a network, I get an error saying that networks with sequence input layers can have only one output (see attached figure).
Is there a solution to this problem?

Respuestas (1)

Shubham Rawat
Shubham Rawat el 24 de Jul. de 2020
Hi Nathan,
You can only have a single output for a sequential input model. You can obtain your results by designing different models for different outputs, means copy your model each having different outputs and run all models and then get individual results.
You can also obtain multiple outputs if you don’t use sequential input. Here is the link below:
  1 comentario
Giorgio Grioli
Giorgio Grioli el 26 de Nov. de 2020
Hi Nathan and Shubham,
your question and relpy really helped me srot out a similar problem I was having in my work.
I am wondering if this limitation is due to some theorethical obstacle, or if it is only due a technical limitation of the current implementation. Would it be the second case, do you have any idea if Mathworks plan to implement support for this feature in the future?
I really hope you would be able to reply.
Best
Giorgio

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by