Unchecking "Automatically create a parallel pool.." does not start the pool automatically anymore. This behaviour seems to be different from previous versions.
Running trainNetwork() starts parallel pool in Matlab 2023b even when options.ExecutionEnvironment = 'cpu'
8 views (last 30 days)
Show older comments
Artem Lensky
on 22 Sep 2023
Commented: Artem Lensky
on 26 Sep 2023
It seems the behaviour of trainNetwork has changed. I have a for loop that performs a grid search of models' hyper-parameters. After updating to version 2023b, parallel pool is being started whenever trainNetwork is invoked. Is this a bug or trainNetwork behaviour changed?
6 Comments
Accepted Answer
Artem Lensky
on 22 Sep 2023
Edited: Artem Lensky
on 22 Sep 2023
4 Comments
Joss Knight
on 25 Sep 2023
Experiment Manager can do an parameter sweep in whatever way you like, and the parameters can be anything you like, so rng seeds for instance.
Implementing a specific grid search algorithm (sweeping one parameter at a time) may require more manual intervention I'll admit. But you might still find it saves you time.
More Answers (0)
See Also
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!