Multi-input networks do not support validation

2 次查看(过去 30 天)
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?

采纳的回答

Shubham Rawat
Shubham Rawat 2020-9-10
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by