MATLAB Answers

Multi-input networks do not support validation

6 views (last 30 days)
OJ27
OJ27 on 7 Sep 2020
Answered: Shubham Rawat on 10 Sep 2020
I was able to train a multi-input network. However, Now that I want to validate the network, I get this error message.
Error using trainNetwork (line 170)
Multi-input networks do not support validation.
Caused by:
Error using trainNetwork>iValidateNoMISOAndValidationData (line 581)
Multi-input networks do not support validation.
Does anyone know how to get around this?

  0 Comments

Sign in to comment.

Accepted Answer

Shubham Rawat
Shubham Rawat on 10 Sep 2020
Hi,
Multi-input networks do not support validation.
You can try to customize the training loop to use validation data:
However, dlnetwork is not supported for multi-input networks.
Depending on what you are doing you might be able to do something like in this example:
Or you may use a model function to define their network:

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!