Multi-input networks do not support validation

4 views (last 30 days)
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?

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:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!