Multi-input networks do not support validation
2 views (last 30 days)
Show older comments
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
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!