Experiment Manager extremely slow

4 views (last 30 days)
ThomasP
ThomasP on 4 May 2022
Commented: Wendimu on 8 Dec 2023
Hello,
when I train a neural network it takes about 5-7 mins of computing time on my pc. When I compute it via experiment manager (bayesian optimization) it takes an hour to compute the network with the same stats... why such a huge difference?
Thanks in advance
Best
  2 Comments
晓龙 张
晓龙 张 on 2 Sep 2022
I have the same problem. The time is 2 times longer even worst! I wonder how to solve this problem?
Wendimu
Wendimu on 8 Dec 2023
I am also having the same problem even with Shallow Neural Networks! What could be the cause of this?

Sign in to comment.

Accepted Answer

Matt J
Matt J on 4 May 2022
Edited: Matt J on 4 May 2022
But you understand, right, that when you use the Experiment Manager, your network is being retrained multiple times with different sets of hyperparameters? If as part of its search, the EM needs to test 10 sets of parameters, each requiring 5-10 min. of training, it makes sense that the whole exercise would be an hour long or more.
  4 Comments
晓龙 张
晓龙 张 on 2 Sep 2022
That is not the reason. The speed is just very low even when single experiment is conducting!
Matt J
Matt J on 2 Sep 2022
But the training time will be different for every experiment, depending on the values of the hyperparameters. Have you really done a side-by-side comparison of the exact same training experiment, both with the same choice of hyperparameters?

Sign in to comment.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!