how to get the time elapsed in matlab deep learning
1 次查看(过去 30 天)
显示 更早的评论
I had saw my training modal's "info" .
But it didn't have any information about training time information.
how can I get the time elapsed ?
Thanks !
0 个评论
采纳的回答
Rushi Vyas
2020-6-18
Hi Lee,
It is my understanding that you want get the elapsed time for training your deep learning model.
When you train your model using trainNetwork(), a “Training Progress” window will appear that has all the necessary information.
You can find the “elapsed time” data under “Training Time” heading
3 个评论
Rushi Vyas
2020-6-18
I understand that you want to save the elapsed time In a variable.
You can use stopwatch commands tic and toc to save the elapsed time of any function/code. For example,
>> tic;
trainNetwork(imdsTrain,layers,options);
elapsed = toc;
>> elapsed
elapsed =
81.4179
You can refer this link for more information : https://in.mathworks.com/help/matlab/ref/toc.html#:~:text=MATLAB%C2%AE%20reads%20the%20internal,tic%20function%20corresponding%20to%20timerVal%20.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel and Cloud 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!